Changeset 1212

Show
Ignore:
Timestamp:
29-11-10 16:48:27 (3 years ago)
Author:
work@…
Message:

- resolving issue # 209, study title to title tags

Location:
trunk/grails-app/views/wizard
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/wizard/common/_navigation.gsp

    r959 r1212  
    2929 
    3030<script type="text/javascript"> 
    31 // scriptable webflow action 
    32 function refreshWebFlow() { 
    33         <wizard:ajaxSubmitJs form="#wizardForm" name="refresh" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> 
    34 } 
     31        // scriptable webflow action 
     32        function refreshWebFlow() { 
     33                <wizard:ajaxSubmitJs form="#wizardForm" name="refresh" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> 
     34        } 
     35 
     36        // set page title to study title 
     37        var title = "${study?.title}"; 
     38        document.title = (title) ? title : 'Create study wizard'; 
    3539</script> 
  • trunk/grails-app/views/wizard/pages/_study.gsp

    r976 r1212  
    3131        <wizard:publicationSelectElement name="publication" value="${study?.publications}" /> 
    3232        <wizard:contactSelectElement name="contacts" value="${study?.persons}" /> 
    33  
    3433        <br /> 
    3534        <div class="element"> 
     
    3837        </div> 
    3938 
    40         <wizard:userSelectElement name="readers" description="Readers" value="${study?.readers}" /> 
    41         <wizard:userSelectElement name="writers" description="Writers" value="${study?.writers}" /> 
    42  
    43         </g:if> 
    44  
     39                <wizard:userSelectElement name="readers" description="Readers" value="${study?.readers}"/> 
     40                <wizard:userSelectElement name="writers" description="Writers" value="${study?.writers}"/> 
     41        </g:if> 
    4542</wizard:pageContent>