web/data/cubicweb.tabs.js
author sylvain.thenault@logilab.fr
Tue, 07 Apr 2009 09:10:26 +0200
changeset 1278 10fa95dd91ab
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
more cleaning needed :(

function set_tab(tabname, cookiename) {
    // set appropriate cookie
    async_remote_exec('set_cookie', cookiename, tabname);
    // trigger show + tabname event
    trigger_load(tabname);
}