diff options
author | Steven Barth <steven@midlink.org> | 2008-07-13 15:33:26 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-13 15:33:26 +0000 |
commit | 8f2bbc4ce0cc0559c52657f272eecaf642399e07 (patch) | |
tree | 1c1e5cfe65e27406207cf1eb876e84ead996813a /libs/cbi/htdocs/luci-static/resources/cbi.js | |
parent | 83bee1908fccb6f564087d8a71b8e28d036499f2 (diff) |
libs/cbi: Fixed dependency JavaScript to match the template fixes
Diffstat (limited to 'libs/cbi/htdocs/luci-static/resources/cbi.js')
-rw-r--r-- | libs/cbi/htdocs/luci-static/resources/cbi.js | 6 |
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"; } } } |