web/data/cubicweb.tabs.js
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Thu, 23 Jul 2009 14:35:58 +0200
changeset 2444 4e61d9e4befb
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[cleanup] fix typo

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