Changeset 855 for trunk


Ignore:
Timestamp:
Mar 11, 2011, 11:55:13 PM (8 years ago)
Author:
gav
Message:

Set submitAction and remove name from default submit button to stop dual submit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/entryDetailed/_create.gsp

    r851 r855  
    1313        <g:hiddenField name="task.id" value="${entryInstance.task.id}" />
    1414        <g:hiddenField name="entryType.id" value="${entryInstance.entryType.id}" />
    15         <g:hiddenField name="submitAction" value="save" />
     15        <g:hiddenField name="submitAction" value="submit_default" />
    1616        <div class="dialog">
    1717            <table>
     
    107107        <div class="buttons">
    108108            <span class="button">
    109                 <input class="save" type="submit" value="Save" name="submit_default" />
     109                <input class="save" type="submit" value="Save" />
    110110            </span>
    111111            <span class="button">
Note: See TracChangeset for help on using the changeset viewer.