diff options
author | Steven Barth <steven@midlink.org> | 2009-11-23 13:19:53 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-11-23 13:19:53 +0000 |
commit | 840d8c89b582e89824982d5388af761062e8e7b3 (patch) | |
tree | 5a27fbf5e118f71cf03f37d5a853fdd683c72b02 /libs | |
parent | 565cc95f0db46e4d1e0bb947115af2d762c3b859 (diff) |
CBI:
Ensure revalidation
Diffstat (limited to 'libs')
-rw-r--r-- | libs/cbi/htdocs/luci-static/resources/cbi.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js index 08ee593356..bbea0f37da 100644 --- a/libs/cbi/htdocs/luci-static/resources/cbi.js +++ b/libs/cbi/htdocs/luci-static/resources/cbi.js @@ -91,7 +91,7 @@ function cbi_d_update() { if (node && node.parentNode && !cbi_d_check(entry.deps)) { node.parentNode.removeChild(node); - state = (state || !node.parentNode); + state = true; if( entry.parent ) cbi_c[entry.parent]--; } else if ((!node || !node.parentNode) && cbi_d_check(entry.deps)) { @@ -100,7 +100,7 @@ function cbi_d_update() { } else { next.parentNode.insertBefore(entry.node, next); } - state = (state || (node && node.parentNode)) + state = true; if( entry.parent ) cbi_c[entry.parent]++; } |