web/data/cubicweb.tabs.js
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 14 May 2009 12:31:23 +0200
branchtls-sprint
changeset 1803 abf40bcb5967
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
let the StringField have a default TextArea widget, only TextInput on small size constraint & no static vocabulary

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