web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Fri, 08 Jan 2010 12:17:42 +0100
branchstable
changeset 4216 6c9e67a89b3a
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[forms] make it easier to override CWProperty form buttons

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