web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 23 Dec 2009 08:59:01 +0100
branchstable
changeset 4199 c9526b1ffb1d
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
must now properly use Binary for password (see 4180:42247d70105b). XXX Though this is somewhat backend related (eg store password using a binary type), this should be either well document or handled properly in the db helper.

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