web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Thu, 22 Oct 2009 11:07:05 +0200
branchstable
changeset 3784 2465ef6aef5f
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[javascript] handle cases where vid parameter is hijacked by parameter-injection

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