summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-11-05 16:41:25 +0100
committerJo-Philipp Wich <jo@mein.io>2018-11-14 20:46:04 +0100
commita453f2b9d0eb4345513ac9f493e5bd88337ac244 (patch)
tree793d69a6258bf3d53945e7967f14cedaeedc24de /modules/luci-base/htdocs
parent10838c366016c2a94401cb88d47796bf3f9c41c3 (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.js2
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;