web/data/cubicweb.tabs.js
author Arthur Lutz <arthur.lutz@logilab.fr>
Mon, 16 Feb 2009 19:54:33 +0100
changeset 637 a78ffe83fadc
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
change label for new registered users

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