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:
fd35e9a
)
luci-base: ui.js: fix event binding for UISelect
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 22 Jul 2019 15:17:10 +0000
(17:17 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 26 Jul 2019 08:22:05 +0000
(10:22 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/ui.js
b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 9c16a9a0dd6646b17187365a7d3749ba0d781138..bff717eb8ebfdc3767520112b509eabbef78c1db 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/ui.js
@@
-287,8
+287,8
@@
var UISelect = UIElement.extend({
this.node = frameEl;
if (this.options.widget == 'select') {
- this.setUpdateEvents(frameEl, 'change', 'click', 'blur');
- this.setChangeEvents(frameEl, 'change');
+ this.setUpdateEvents(frameEl
.firstChild
, 'change', 'click', 'blur');
+ this.setChangeEvents(frameEl
.firstChild
, 'change');
}
else {
var radioEls = frameEl.querySelectorAll('input[type="radio"]');