web/data/cubicweb.tabs.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 01 Oct 2009 17:15:46 +0200
branchstable
changeset 3545 242b07b6d820
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
fix remove/do not remove action sequence (using a temp attribute instead of setting a wrong value in the resurrected hidden input)

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