luci-base: fix multiple parameter in cbi templates 2923/head
authorAnton Kikin <a.kikin@tano-systems.com>
Fri, 26 Jul 2019 15:14:40 +0000 (18:14 +0300)
committerAnton Kikin <a.kikin@tano-systems.com>
Fri, 26 Jul 2019 15:18:42 +0000 (18:18 +0300)
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>
modules/luci-base/luasrc/view/cbi/dropdown.htm
modules/luci-base/luasrc/view/cbi/mvalue.htm

index 95bd0d4bdc0122f1cfbeb60a9f7dc410b45ca22d..927ecf2396f443f653396e77963742c19b24bd63 100644 (file)
@@ -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,
index 97e40abfa20051a98ace0d0fb3673d07d1654822..1f4f4dbcc605fce44d8e6fec71b9fa8a16736027 100644 (file)
@@ -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,