summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-10-10 22:18:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-10-10 22:18:50 +0000
commit42e1f743b394c95637b99feac7a93161c5215381 (patch)
treea02ea69d5e8234d64e0ca7d4f4b5df50492b7488 /libs/cbi/htdocs
parentb47afa09346e39d0ff66a03b3f66ad2888b4d5d8 (diff)
libs/cbi: fix dynamic tab hiding
Diffstat (limited to 'libs/cbi/htdocs')
-rw-r--r--libs/cbi/htdocs/luci-static/resources/cbi.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js
index f708d0f7fa..004e12eaa4 100644
--- a/libs/cbi/htdocs/luci-static/resources/cbi.js
+++ b/libs/cbi/htdocs/luci-static/resources/cbi.js
@@ -36,9 +36,6 @@ function cbi_d_add(field, dep, next) {
"deps": []
};
cbi_d.unshift(entry);
-
- if( entry.parent )
- cbi_c[entry.parent] = (cbi_c[entry.parent] || 0) + 1;
}
entry.deps.push(dep)
}