author | Julien Jehannet <julien.jehannet@logilab.fr> |
Thu, 19 Feb 2009 19:21:26 +0100 | |
changeset 857 | f5728ee6fe39 |
parent 543 | c0f2b6378f70 |
child 606 | 40c7c2cf0797 |
permissions | -rw-r--r-- |
239 | 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 | 7 |
} |