web/data/cubicweb.tabs.js
changeset 485 0f830732be19
parent 239 5b58fd1aba50
child 491 e6d025d7d313
--- a/web/data/cubicweb.tabs.js	Tue Jan 27 14:03:17 2009 +0100
+++ b/web/data/cubicweb.tabs.js	Tue Jan 27 18:46:49 2009 +0100
@@ -2,4 +2,7 @@
   // set appropriate cookie
   // XXX see if we can no just do it with jQuery
   async_remote_exec('remember_active_tab', tabname);
+  // trigger show + tabname event
+  log('set tab for ' + jQuery('#lazy-' + tabname).attr('cubicweb:loadurl'));
+  trigger_load(tabname);
 }