libs/cbi: Fixed dependency JavaScript to match the template fixes
This commit is contained in:
parent
83bee1908f
commit
8f2bbc4ce0
1 changed files with 1 additions and 5 deletions
|
@ -26,13 +26,9 @@ 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";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function cbi_d_init() {
|
||||
|
|
Loading…
Reference in a new issue