git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
3f5fae2
)
luci-base: cbi: fix event binding js
author
Jo-Philipp Wich
<redacted>
Tue, 19 Jan 2016 09:36:04 +0000
(10:36 +0100)
committer
Jo-Philipp Wich
<redacted>
Tue, 19 Jan 2016 09:36:54 +0000
(10:36 +0100)
Signed-off-by: Jo-Philipp Wich <redacted>
modules/luci-base/htdocs/luci-static/resources/cbi.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/cbi.js
b/modules/luci-base/htdocs/luci-static/resources/cbi.js
index 55e0c4d0af6c8cfbbdaba1c1b83b2a6b35a4a8fc..3e71f17a6e79138da8a3fb1d1f666141cc3f1f74 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/cbi.js
@@
-515,10
+515,10
@@
function cbi_init() {
}
}
- nodes = document.querySelectorAll('[data-
chang
e]');
+ nodes = document.querySelectorAll('[data-
updat
e]');
for (var i = 0, node; (node = nodes[i]) !== undefined; i++) {
- var events = node.getAttribute('data-
chang
e').split(' ');
+ var events = node.getAttribute('data-
updat
e').split(' ');
for (var j = 0, event; (event = events[j]) !== undefined; j++) {
cbi_bind(node, event, cbi_d_update);
}
git clone https://git.99rst.org/PROJECT