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:
10838c3
)
luci-base: cbi.js: fix passing multiple dropdown values in change event
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 5 Nov 2018 15:41:25 +0000
(16:41 +0100)
committer
Jo-Philipp Wich
<jo@mein.io>
Wed, 14 Nov 2018 19:46:04 +0000
(20:46 +0100)
Due to a misspelled property name, only the first value was passed in
the event details.
Fixes:
c2b570998
("luci-base: cbi.js: rework dropdown implementation")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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 0230ae9fa0078bef1988be99820e75c716c1664a..5a095bdfde22f89687ec98bd686d5783ba74141c 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/cbi.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/cbi.js
@@
-1754,7
+1754,7
@@
CBIDropdown = {
element: sb
};
- if (this.mult)
+ if (this.mult
i
)
detail.values = values;
else
detail.value = values.length ? values[0] : null;