web/data/cubicweb.tabs.js
author Arthur Lutz <arthur.lutz@logilab.fr>
Wed, 11 Feb 2009 17:43:18 +0100
changeset 597 f8c1f8a40749
parent 543 c0f2b6378f70
child 606 40c7c2cf0797
permissions -rw-r--r--
use UStringIO

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);
}