web/data/cubicweb.tabs.js
author Laure Bourgois <Laure.Bourgois@logilab.fr>
Mon, 02 Feb 2009 13:32:56 +0100
changeset 550 2300370b8edd
parent 543 c0f2b6378f70
child 606 40c7c2cf0797
permissions -rw-r--r--
refactoring OWLView (TBOX+ABOX) and OWLABOXView (pseudo-ABOX for a given entity). By now OWLView is using (for cost advantage) OWLABOXLightView.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
239
5b58fd1aba50 missing file
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
function set_tab(tabname) {
543
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     2
    // set appropriate cookie
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     3
    // XXX see if we can no just do it with jQuery
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     4
    async_remote_exec('remember_active_tab', tabname);
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     5
    // trigger show + tabname event
c0f2b6378f70 simplification of lazy tabs mechanism
Adrien Di Mascio <Adrien.DiMascio@logilab.fr>
parents: 491
diff changeset
     6
    trigger_load(tabname);
239
5b58fd1aba50 missing file
Sylvain Thenault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     7
}