web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Tue, 05 Oct 2010 08:33:10 +0200
changeset 6394 eb9a5bd778bc
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
[forms] remove dead code and simplify inlineviews creation remove AutomaticEntityForm.should_inline_relation_form which is not used anywhere and comes from a time where uicfg did not exist. remove test for "force_<rtype>_display" presence in req.form to determine whether or not the inline creation form should be displayed.

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