Changeset 731


Ignore:
Timestamp:
Jul 27, 2010, 2:53:33 PM (13 years ago)
Author:
keesvb
Message:

also disabled the requirement for >=1 sampling event in the quick save

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy

    r722 r731  
    612612
    613613                                // handle study data
     614                                /* turned off by request of Kees / Leny / Jildau
    614615                                if (!flow.eventTemplates.find { eventTemplate -> eventTemplate.value.template.entity == SamplingEvent }) {
    615616                                        // append error map
    616617                                        this.appendErrorMap(['events': 'You need to create at least one sampling event for your study'], flash.errors)
    617618                                        error()
    618                                 } else if (this.handleEvents(flow, flash, params)) {
     619                                } else
     620                                */
     621                                if (this.handleEvents(flow, flash, params)) {
    619622                                        success()
    620623                                } else {
Note: See TracChangeset for help on using the changeset viewer.