web/data/cubicweb.ajax.js
changeset 10301 729f36a1bcfa
parent 10215 96085e379066
parent 10279 d7479a5ac553
child 10411 4ee15441f2eb
--- a/web/data/cubicweb.ajax.js	Wed Mar 25 10:10:24 2015 +0100
+++ b/web/data/cubicweb.ajax.js	Wed Apr 22 10:08:14 2015 +0200
@@ -511,7 +511,8 @@
     d.addCallback(function(boxcontent) {
         $('#bookmarks_box').loadxhtml(AJAX_BASE_URL,
                                       ajaxFuncArgs('render', null, 'ctxcomponents',
-                                                   'bookmarks_box'));
+                                                   'bookmarks_box'),
+                                      null, 'swap');
         document.location.hash = '#header';
         updateMessage(_("bookmark has been removed"));
     });