summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-12-26 12:41:16 +0100
committerYorhel <git@yorhel.nl>2008-12-26 12:41:16 +0100
commitec19b9b6a6efa35f29636d69c23ea98fbd88f142 (patch)
tree02e9c6ee0329ccbeefa8dc7b259c2e99e195e6cd /static
parent597353c307d2427fa9737518eb4bc55dad91d2e0 (diff)
'All items' tab to multi-tab forms
Diffstat (limited to 'static')
-rw-r--r--static/f/script.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/static/f/script.js b/static/f/script.js
index dcc901e0..6726d311 100644
--- a/static/f/script.js
+++ b/static/f/script.js
@@ -213,7 +213,8 @@ function jtSel(which, nolink) {
for(var i=0;i<l.length;i++)
if(l[i].id.substr(0,7) == 'jt_sel_') {
var name = l[i].id.substr(7);
- x('jt_box_'+name).style.display = name == which ? 'block' : 'none';
+ if(name != 'all')
+ x('jt_box_'+name).style.display = name == which || which == 'all' ? 'block' : 'none';
var o = x('jt_sel_'+name).parentNode;
if(o.className.indexOf('tabselected') >= 0) {
if(name != which)