web/data/cubicweb.tabs.js
author Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
Wed, 05 Aug 2009 09:14:34 +0200
changeset 3386 ab797c5374b7
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
[editcontroller] rename is_edited variable into is_main_entity to make things clearer

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