Changeset 674
- Timestamp:
- Jul 21, 2010, 10:45:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r673 r674 659 659 flow.page = 6 660 660 661 // for now, development only! 662 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) { 661 663 // iterate through eventGroups 662 664 if (!flow.samples) { … … 702 704 } 703 705 } 706 } 704 707 705 708 success() … … 754 757 flash.errors = [:] 755 758 759 // for now, development only! 760 if (grails.util.GrailsUtil.environment == GrailsApplication.ENV_DEVELOPMENT) { 756 761 // do all samples have a template assigned? 757 762 if (flow.samplesWithTemplate < flow.samples.size()) { … … 771 776 error() 772 777 } 778 } else { 779 success() 780 } 773 781 }.to "confirm" 774 782 on("quickSave") {
Note: See TracChangeset
for help on using the changeset viewer.