web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 17 Feb 2009 23:46:48 +0100
branchtls-sprint
changeset 727 30fe8f5afbd8
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
fix _instantiate_selector() mini bug (make sure obj is a class before calling issubclass)

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