web/data/cubicweb.tabs.js
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Thu, 30 Apr 2009 16:16:20 +0200
changeset 1617 ac8a4ce6a830
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
remove logs

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