web/data/cubicweb.tabs.js
author sylvain.thenault@logilab.fr
Fri, 20 Mar 2009 09:15:14 +0100
changeset 1119 3f23846b7946
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
should not close the main connection

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