fix display style setting

This commit is contained in:
Helmut Merz 2012-07-30 15:06:59 +02:00
parent c38af3274c
commit e0ea52cb1d

View file

@ -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;
}) })
} }