web/data/cubicweb.tabs.js
author sylvain.thenault@logilab.fr
Fri, 27 Mar 2009 12:17:27 +0100
branchtls-sprint
changeset 1173 8f123fd081f4
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
forgot to add that expected method (was a function in view.__init__)

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