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:
565cc95
)
CBI:
author
Steven Barth
<steven@midlink.org>
Mon, 23 Nov 2009 13:19:53 +0000
(13:19 +0000)
committer
Steven Barth
<steven@midlink.org>
Mon, 23 Nov 2009 13:19:53 +0000
(13:19 +0000)
Ensure revalidation
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 08ee593356eb3570cf02cc94a62753ff1b581cb5..bbea0f37da4afe49bb2b5ef3a108b561d6021df6 100644
(file)
--- 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]++;
}