web/data/cubicweb.tabs.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 28 Jan 2009 17:30:26 +0100
changeset 510 6b92504d77c1
parent 491 e6d025d7d313
child 543 c0f2b6378f70
permissions -rw-r--r--
[tabs] improve pylint note :)

function set_tab(tabname) {
  // 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
  trigger_load(tabname);
}