web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 07 Mar 2011 17:15:06 +0100
branchstable
changeset 7041 5a6fd60f7617
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
[sql generation] fix table scope pb: when an inlined relation is used as principal for the rhs variable, we should adjust lhs variable'scope

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