瀏覽代碼

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

Damien Accorsi 10 年之前
父節點
當前提交
9a9face59e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pod/pod/templates/document-widgets.mak

+ 1 - 1
pod/pod/templates/document-widgets.mak 查看文件

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