web/data/cubicweb.tabs.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 11 Feb 2009 19:11:55 +0100
changeset 606 40c7c2cf0797
parent 543 c0f2b6378f70
child 1419 7ff24154351d
permissions -rw-r--r--
[tabs] reuse the new set_cookie controller method

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