Explorar el Código

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

Damien Accorsi hace 10 años
padre
commit
9a9face59e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pod/pod/templates/document-widgets.mak

+ 1 - 1
pod/pod/templates/document-widgets.mak Ver fichero

@@ -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}"/>