From a453f2b9d0eb4345513ac9f493e5bd88337ac244 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 5 Nov 2018 16:41:25 +0100 Subject: [PATCH] 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 --- modules/luci-base/htdocs/luci-static/resources/cbi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1