web/data/cubicweb.tabs.js
author sylvain.thenault@logilab.fr
Mon, 09 Feb 2009 14:09:55 +0100
changeset 562 bdadb26c4a3c
parent 543 c0f2b6378f70
child 606 40c7c2cf0797
permissions -rw-r--r--
old .validators attribute is now .vid_validators

function set_tab(tabname) {
    // set appropriate cookie
    // XXX see if we can no just do it with jQuery
    async_remote_exec('remember_active_tab', tabname);
    // trigger show + tabname event
    trigger_load(tabname);
}