web/data/cubicweb.tabs.js
author Stephanie Marcu
Tue, 19 Jan 2010 12:19:14 +0100
changeset 4262 83d245d33436
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
we should access to __regid__ instead of id since in that case bw compat fail: access to id throuhg a class returns the property object instead of calling the property's method

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