luci-base: ui.js: fix multi vs. multiple keyword confusion
authorJo-Philipp Wich <jo@mein.io>
Fri, 19 Jul 2019 08:39:54 +0000 (10:39 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 19 Jul 2019 08:39:54 +0000 (10:39 +0200)
commitdc0211803e667252b65b0e3c043e321bfecccd71
treeb191bc7e0b8e1eb6751c6f12950870e6c5e0f194
parent776e6d540990eabcd134d0bee8dd54695d9c53a7
luci-base: ui.js: fix multi vs. multiple keyword confusion

The "luci.form" and "luci.tools.widgets" classes use the "multiple"
keyword while ui.js uses "multi" internally, leading to single-value
dropdowns widget values getting stored as uci lists.

Fix the issue by using "multiple" everywhere.

Fixes: #2871
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/ui.js