web/data/cubicweb.tabs.js
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Tue, 13 Oct 2009 07:31:51 +0200
branchstable
changeset 3650 012da21e43fe
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
ignore some internal warnings prevent the display of warnings caused by the definition of deprecated functions so that the output of cubicweb-ctl is not polluted.

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