web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 19 Jan 2011 10:13:31 +0100
branchstable
changeset 6843 b70a26ca271c
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
[devtools] set configuration name to all-in-one so test/data/all-in-one.conf file will be loaded as one may expected

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