Browse Source

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

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