From aeba90032fb522bcd36c59c4b386cde084003899 Mon Sep 17 00:00:00 2001 From: Anton Kikin Date: Fri, 26 Jul 2019 18:14:40 +0300 Subject: [PATCH] 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 --- modules/luci-base/luasrc/view/cbi/dropdown.htm | 2 +- modules/luci-base/luasrc/view/cbi/mvalue.htm | 2 +- 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, -- 2.30.2