web/data/cubicweb.reledit.js
changeset 10279 d7479a5ac553
parent 8260 5a81fa526b30
--- a/web/data/cubicweb.reledit.js	Tue Mar 17 12:34:07 2015 +0100
+++ b/web/data/cubicweb.reledit.js	Wed Feb 04 15:13:36 2015 +0100
@@ -53,7 +53,7 @@
                 return;
             }
         }
-        jQuery('#'+params.divid+'-reledit').loadxhtml(AJAX_BASE_URL, params, 'post');
+        jQuery('#'+params.divid+'-reledit').loadxhtml(AJAX_BASE_URL, params, 'post', 'swap');
         jQuery(cw).trigger('reledit-reloaded', params);
     },
 
@@ -69,7 +69,7 @@
                     pageid: pageid, action: action,
                     eid: eid, divid: divid, formid: formid,
                     reload: reload, vid: vid};
-        var d = jQuery('#'+divid+'-reledit').loadxhtml(AJAX_BASE_URL, args, 'post');
+        var d = jQuery('#'+divid+'-reledit').loadxhtml(AJAX_BASE_URL, args, 'post', 'swap');
         d.addCallback(function () {cw.reledit.showInlineEditionForm(divid);});
     }
 });