web/data/cubicweb.tabs.js
changeset 491 e6d025d7d313
parent 485 0f830732be19
child 543 c0f2b6378f70
equal deleted inserted replaced
490:b84d64db2350 491:e6d025d7d313
     1 function set_tab(tabname) {
     1 function set_tab(tabname) {
     2   // set appropriate cookie
     2   // set appropriate cookie
     3   // XXX see if we can no just do it with jQuery
     3   // XXX see if we can no just do it with jQuery
     4   async_remote_exec('remember_active_tab', tabname);
     4   async_remote_exec('remember_active_tab', tabname);
     5   // trigger show + tabname event
     5   // trigger show + tabname event
     6   log('set tab for ' + jQuery('#lazy-' + tabname).attr('cubicweb:loadurl'));
       
     7   trigger_load(tabname);
     6   trigger_load(tabname);
     8 }
     7 }