summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/htdocs/luci-static
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-07-13 15:33:26 +0000
committerSteven Barth <steven@midlink.org>2008-07-13 15:33:26 +0000
commit8f2bbc4ce0cc0559c52657f272eecaf642399e07 (patch)
tree1c1e5cfe65e27406207cf1eb876e84ead996813a /libs/cbi/htdocs/luci-static
parent83bee1908fccb6f564087d8a71b8e28d036499f2 (diff)
libs/cbi: Fixed dependency JavaScript to match the template fixes
Diffstat (limited to 'libs/cbi/htdocs/luci-static')
-rw-r--r--libs/cbi/htdocs/luci-static/resources/cbi.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js
index a3a47aa45b..3abc3a9f52 100644
--- a/libs/cbi/htdocs/luci-static/resources/cbi.js
+++ b/libs/cbi/htdocs/luci-static/resources/cbi.js
@@ -26,11 +26,7 @@ function cbi_d_update(target) {
if (t && t.value && cbi_d[target][t.value]) {
for (var i=0; i<cbi_d[target][t.value].length; i++) {
var y = document.getElementById(cbi_d[target][t.value][i])
- if (!y.value) {
- y.style.display = "table-row";
- } else {
- y.style.display = "block";
- }
+ y.style.display = "block";
}
}
}