web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 12 Mar 2010 15:01:52 +0100
changeset 4896 45a1c3f0d0d9
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[notification] fix dumb name error in hijack user

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