summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base
diff options
context:
space:
mode:
authorAnton Kikin <a.kikin@tano-systems.com>2019-07-26 18:14:40 +0300
committerAnton Kikin <a.kikin@tano-systems.com>2019-07-26 18:18:42 +0300
commitaeba90032fb522bcd36c59c4b386cde084003899 (patch)
tree9ce453862fe00f9e5009a9211d5a2e6a7ec498ae /modules/luci-base
parent16f23de9779908850f756d62c2550b354c97e0f7 (diff)
luci-base: fix multiple parameter in cbi templates
In the dc0211803e commit, the parameter "multi" in ui.js is replaced with "multiple" everywhere. Thus, it must also be changed in the cbi templates. Fixes: dc0211803e Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
Diffstat (limited to 'modules/luci-base')
-rw-r--r--modules/luci-base/luasrc/view/cbi/dropdown.htm2
-rw-r--r--modules/luci-base/luasrc/view/cbi/mvalue.htm2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/dropdown.htm b/modules/luci-base/luasrc/view/cbi/dropdown.htm
index 95bd0d4bdc..927ecf2396 100644
--- a/modules/luci-base/luasrc/view/cbi/dropdown.htm
+++ b/modules/luci-base/luasrc/view/cbi/dropdown.htm
@@ -4,7 +4,7 @@
id = cbid,
name = cbid,
sort = self.keylist,
- multi = self.multiple,
+ multiple = self.multiple,
datatype = self.datatype,
optional = self.optional or self.rmempty,
readonly = self.readonly,
diff --git a/modules/luci-base/luasrc/view/cbi/mvalue.htm b/modules/luci-base/luasrc/view/cbi/mvalue.htm
index 97e40abfa2..1f4f4dbcc6 100644
--- a/modules/luci-base/luasrc/view/cbi/mvalue.htm
+++ b/modules/luci-base/luasrc/view/cbi/mvalue.htm
@@ -13,7 +13,7 @@
name = cbid,
size = self.size,
sort = self.keylist,
- multi = true,
+ multiple = true,
widget = self.widget,
datatype = self.datatype,
optional = self.optional or self.rmempty,