web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 18 Feb 2009 17:04:43 +0100
branchtls-sprint
changeset 818 dc45e3cc487c
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
set PageContentTemplate stream for binary views

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