projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83bee19
)
libs/cbi: Fixed dependency JavaScript to match the template fixes
author
Steven Barth
<steven@midlink.org>
Sun, 13 Jul 2008 15:33:26 +0000
(15:33 +0000)
committer
Steven Barth
<steven@midlink.org>
Sun, 13 Jul 2008 15:33:26 +0000
(15:33 +0000)
libs/cbi/htdocs/luci-static/resources/cbi.js
patch
|
blob
|
history
diff --git
a/libs/cbi/htdocs/luci-static/resources/cbi.js
b/libs/cbi/htdocs/luci-static/resources/cbi.js
index a3a47aa45b3237621876572d6e6dae3752398047..3abc3a9f521c58ef6aa94f2e571adbce52a272b9 100644
(file)
--- 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";
}
}
}