[js/ajax] switch to POST by default, fixes an IE7 caching bug stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 25 Oct 2010 15:47:01 +0200
branchstable
changeset 6618 1268da8a2dbb
parent 6605 cdc5b74d65c9
child 6645 179eb6131e92
child 6657 402bff898024
[js/ajax] switch to POST by default, fixes an IE7 caching bug
web/data/cubicweb.ajax.js
--- a/web/data/cubicweb.ajax.js	Fri Oct 22 18:08:25 2010 +0200
+++ b/web/data/cubicweb.ajax.js	Mon Oct 25 15:47:01 2010 +0200
@@ -290,7 +290,7 @@
         var deferred = new Deferred();
         jQuery.ajax({
             url: url,
-            type: (reqtype || 'GET').toUpperCase(),
+            type: (reqtype || 'POST').toUpperCase(),
             data: form,
             async: true,