web/data/cubicweb.tabs.js
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 01 Jun 2010 17:29:49 +0200
branchstable
changeset 5651 95f7285e85e2
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[vreg] ensure you can register an object from module not known yet. This ease registration of arbitrary objects during testing.

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