web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 19 Feb 2009 21:31:18 +0100
branchtls-sprint
changeset 861 7985b5db2284
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
provide a mini HTML select tag constructor

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