web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 30 Jan 2009 16:57:20 +0100
changeset 543 c0f2b6378f70
parent 491 e6d025d7d313
child 606 40c7c2cf0797
permissions -rw-r--r--
simplification of lazy tabs mechanism

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);
}