web/data/cubicweb.tabs.js
author Julien Jehannet <julien.jehannet@logilab.fr>
Wed, 28 Apr 2010 16:13:56 +0200
changeset 5430 ed8f71e244f8
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[shell] #715938: support of script parameters (using standard '--' as arguments separator) Arguments after bare "--" string will not be processed by the shell command You can use it to pass extra arguments to your script and expect for them in 'scriptargs' afterwards.

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