summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-07-27 20:21:08 +0200
committerGitHub <noreply@github.com>2019-07-27 20:21:08 +0200
commitb949c0262431c74b0a5f0c426d878207f1d2742a (patch)
treef83c3b673c7ea1efbeda81fc555f54659f46c24f
parent946fc57aa922bbd9b61c4089cdb7ec67d493209a (diff)
parentaeba90032fb522bcd36c59c4b386cde084003899 (diff)
Merge pull request #2923 from tano-systems/pr/multi-fix
luci-base: fix multiple parameter in cbi templates
-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 95bd0d4bd..927ecf239 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 97e40abfa..1f4f4dbcc 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,