web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 07 Jun 2010 12:39:15 +0200
changeset 5676 aa04ccb8dd62
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
[edit ctrl] fix bad interaction with fields: the loop on actual fields should be done in has_been_modified

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