Changeset 1567

Show
Ignore:
Timestamp:
25-02-11 15:52:20 (3 years ago)
Author:
work@…
Message:

- added fix #333 to the tag as well

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tags/0.6.5/grails-app/views/studyWizard/pages/_assays.gsp

    r1461 r1567  
    2525                The number of assays to add to your study 
    2626        </af:textFieldElement */ %> 
    27         <af:templateElement name="template" description="Template" value="${assay?.template}" entity="${dbnp.studycapturing.Assay}" addDummy="true" ajaxOnChange="switchTemplate" afterSuccess="onPage()" > 
     27        <af:templateElement name="template" description="Template" value="${(assay && assay instanceof dbnp.studycapturing.Assay) ? assay.template : ''}" entity="${dbnp.studycapturing.Assay}" addDummy="true" ajaxOnChange="switchTemplate" afterSuccess="onPage()" > 
    2828                Choose the type of assay you would like to add 
    2929        </af:templateElement>