diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-11-05 16:41:25 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-11-14 20:46:04 +0100 |
commit | a453f2b9d0eb4345513ac9f493e5bd88337ac244 (patch) | |
tree | 793d69a6258bf3d53945e7967f14cedaeedc24de /modules/luci-base/htdocs | |
parent | 10838c366016c2a94401cb88d47796bf3f9c41c3 (diff) |
luci-base: cbi.js: fix passing multiple dropdown values in change event
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>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/cbi.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/cbi.js b/modules/luci-base/htdocs/luci-static/resources/cbi.js index 0230ae9fa..5a095bdfd 100644 --- 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.multi) detail.values = values; else detail.value = values.length ? values[0] : null; |