web/data/cubicweb.tabs.js
author Laure Bourgois <Laure.Bourgois@logilab.fr>
Wed, 01 Apr 2009 17:25:40 +0200
branch450c435d69b9
changeset 1199 7fa66717175b
parent 606 40c7c2cf0797
child 1419 7ff24154351d
permissions -rw-r--r--
fixing isioc_type comment adding method (from existing cube blog code) to ISiocItem (isioc_replies, isioc_topics) adding method (from existing cube blog code) to ISiocContainer (isioc_items)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
606
40c7c2cf0797 [tabs] reuse the new set_cookie controller method
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 543
diff changeset
     1
function set_tab(tabname, cookiename) {
543
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     2
    // set appropriate cookie
606
40c7c2cf0797 [tabs] reuse the new set_cookie controller method
Aurelien Campeas <aurelien.campeas@logilab.fr>
parents: 543
diff changeset
     3
    async_remote_exec('set_cookie', cookiename, tabname);
543
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     4
    // trigger show + tabname event
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     5
    trigger_load(tabname);
239
5b58fd1aba50 missing file
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     6
}