[js/edition] fix pb with IE not handling long GETs #1203789 stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 30 Jul 2010 11:53:16 +0200
branchstable
changeset 6043 bfe13118b5aa
parent 6042 df9cafb8062c
child 6044 9e48ebd5400c
[js/edition] fix pb with IE not handling long GETs #1203789
web/data/cubicweb.edition.js
--- a/web/data/cubicweb.edition.js	Fri Jul 30 11:11:08 2010 +0200
+++ b/web/data/cubicweb.edition.js	Fri Jul 30 11:53:16 2010 +0200
@@ -586,7 +586,7 @@
     try {
         var zipped = cw.utils.formContents(formid);
         var args = ajaxFuncArgs('validate_form', null, action, zipped[0], zipped[1]);
-        var d = loadRemote('json', args);
+        var d = loadRemote('json', args, 'POST');
     } catch(ex) {
         log('got exception', ex);
         return false;