Browse Source

bugfix: new item form was sending GET request instead of POST

Damien Accorsi 11 years ago
parent
commit
9a9face59e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pod/pod/templates/document-widgets.mak

+ 1 - 1
pod/pod/templates/document-widgets.mak View File

298
 
298
 
299
     <div class="modal-body">
299
     <div class="modal-body">
300
 ## MODAL BODY
300
 ## MODAL BODY
301
-      <form id='${psModalId}-form' method="GET" action="${psPostUrl}">
301
+      <form id='${psModalId}-form' method="POST" action="${psPostUrl}">
302
         <div style="padding: 0.5em 0 0 0">
302
         <div style="padding: 0.5em 0 0 0">
303
           % if poNode!=None:
303
           % if poNode!=None:
304
             <input type="hidden" name="node_id" value="${poNode.node_id}"/>
304
             <input type="hidden" name="node_id" value="${poNode.node_id}"/>