web/data/cubicweb.tabs.js
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Wed, 11 Aug 2010 15:54:44 +0200
branchstable
changeset 6099 b22a4a3895df
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
work around Apache's mod_proxy limitation with special chars in URLs by not using Rest urls when such a case is detected

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