web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 20 Jan 2011 08:23:27 +0100
branchstable
changeset 6852 970d1aab42a1
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
[migration] fix migration of old cw instances which do not have yet the CWUniqueTogetherConstraint entity type

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