web/data/cubicweb.tabs.js
author sylvain.thenault@logilab.fr
Tue, 10 Mar 2009 15:18:04 +0100
branchtls-sprint
changeset 1026 4c097dbaf560
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
avoid deprecation warning

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