web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Feb 2010 13:57:29 +0100
changeset 4545 9b7b3303c515
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
fix match_transition selector: for instance w/ forge version change state form overiding, we want the form with the publication_date selected by the editcontroller, whatever the transition

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