web/data/cubicweb.tabs.js
changeset 5658 7b9553a9db65
parent 1419 7ff24154351d
child 6952 7de13eb473e3
--- a/web/data/cubicweb.tabs.js	Thu Jun 03 10:17:44 2010 +0200
+++ b/web/data/cubicweb.tabs.js	Thu Jun 03 14:51:42 2010 +0200
@@ -1,6 +1,7 @@
 function set_tab(tabname, cookiename) {
     // set appropriate cookie
-    asyncRemoteExec('set_cookie', cookiename, tabname);
+    loadRemote('json', ajaxFuncArgs('set_cookie', null, cookiename, tabname));
     // trigger show + tabname event
     trigger_load(tabname);
 }
+