Ignore:
Timestamp:
Jul 27, 2010, 1:06:55 PM (9 years ago)
Author:
duh
Message:
  • fixed the 'blue screen' issue in the templateEditor where switching templates sometimes resulted in a blue screen. This was because that particular GET parameter was not URL encoded so string containing a + sign were received broken. Added ".encodeAsURL()" to the template
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/templateEditor/template.gsp

    r567 r726  
    8080                <g:if test="${template}">
    8181                        <div class="templateEditorStep" id="step2_selectedFields">
    82                                 <h3 class="templateName">${template.name} (<a class="switch" href="${createLink(action:'index')}?entity=${encryptedEntity}">switch</a>)</h3>
     82                                <h3 class="templateName">${template.name} (<a class="switch" href="${createLink(action:'index')}?entity=${encryptedEntity.encodeAsURL()}">switch</a>)</h3>
    8383
    8484                                <p>Currently, this template contains the following fields. Drag fields to reorder. Drag fields to the list of available fields to remove the field from the template.</p>
Note: See TracChangeset for help on using the changeset viewer.