web/data/cubicweb.tabs.js
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Tue, 06 Oct 2009 16:56:22 +0200
branchstable
changeset 3563 f1dbb9bf4da3
parent 1419 7ff24154351d
child 5658 7b9553a9db65
permissions -rw-r--r--
fix label in generated form for relations the label for object relations was incorrect, because the '_object' mangling is done on the wrong component of field.label. fix ticket 472831

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