fix display style setting
This commit is contained in:
parent
c38af3274c
commit
e0ea52cb1d
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ function showIf(node, value, targetName) {
|
||||||
|
|
||||||
function showIfIn(node, conditions) {
|
function showIfIn(node, conditions) {
|
||||||
dojo.forEach(conditions, function(cond) {
|
dojo.forEach(conditions, function(cond) {
|
||||||
var display = (node.value == cond[0]) ? 'inline' : 'none';
|
var display = (node.value == cond[0]) ? '' : 'none';
|
||||||
dojo.byId(cond[1]).style.display = display;
|
dojo.byId(cond[1]).style.display = display;
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue