From: Anton Kikin Date: Fri, 26 Jul 2019 15:14:40 +0000 (+0300) Subject: luci-base: fix multiple parameter in cbi templates X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aeba90032fb522bcd36c59c4b386cde084003899;p=oweals%2Fluci.git 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 --- 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,