Ignore:
Timestamp:
Nov 29, 2010, 4:48:27 PM (11 years ago)
Author:
work@…
Message:
  • resolving issue # 209, study title to title tags
File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.