[facets] Correctly replace old 'edit box' HTML on facet-induced page refresh (closes #3161100) stable
authorRémi Cardona <remi.cardona@logilab.fr>
Mon, 23 Sep 2013 11:13:28 +0200
branchstable
changeset 9239 dde9fe1e0ce3
parent 9238 08812a274425
child 9240 6356adcb652c
[facets] Correctly replace old 'edit box' HTML on facet-induced page refresh (closes #3161100)
web/data/cubicweb.facets.js
--- a/web/data/cubicweb.facets.js	Mon Sep 23 15:03:03 2013 +0200
+++ b/web/data/cubicweb.facets.js	Mon Sep 23 11:13:28 2013 +0200
@@ -109,7 +109,7 @@
                 $node.loadxhtml(AJAX_BASE_URL, ajaxFuncArgs('render', {
                     'rql': rql
                 },
-                'ctxcomponents', 'edit_box'));
+                'ctxcomponents', 'edit_box'), 'GET', 'swap');
             }
             $node = $('#breadcrumbs');
             if ($node.length) {