web/data/cubicweb.tabs.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 01 Sep 2009 16:55:45 +0200
branch3.5
changeset 3076 71ab8d47c57b
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
make it more easy to override default branch state

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