web/data/cubicweb.tabs.js
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 25 Aug 2010 18:29:55 +0200
changeset 6147 95c604ec89bf
parent 5658 7b9553a9db65
child 6952 7de13eb473e3
permissions -rw-r--r--
update documentation to follow 6142:8bc6eac1fac1 changes. Try to make it better and move most doc with code on the way

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