- Timestamp:
- May 17, 2010, 11:56:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r416 r418 157 157 158 158 if (!flow.subjects) { 159 flow.subjects = [ ]159 flow.subjects = [:] 160 160 flow.subjectTemplates = [:] 161 161 } … … 341 341 } 342 342 343 flow.eventGroups[increment] = new EventGroup( name: groupName)343 flow.eventGroups[increment] = new EventGroup( name: groupName ) 344 344 }.to "events" 345 345 on("deleteEventGroup") { … … 651 651 // walk through eventGroups 652 652 def g = 0 653 flow.eventGroups.each() { 653 654 flow.eventGroups.each() { eventGroup -> 654 655 def e = 0 655 def eventGroup = it656 656 657 657 // reset events 658 658 eventGroup.events = new HashSet() 659 659 660 // walkthrough events660 // iterate through events 661 661 flow.events.each() { 662 662 if (params.get('event_' + e + '_group_' + g) == 'on') {
Note: See TracChangeset
for help on using the changeset viewer.