luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox...
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Feb 2016 08:27:12 +0000 (09:27 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 23 Feb 2016 08:27:25 +0000 (09:27 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/view/cbi/lvalue.htm
modules/luci-base/luasrc/view/cbi/mvalue.htm

index 61759fd..99f456d 100644 (file)
@@ -21,7 +21,7 @@
                <%- end %>
        </select>
 <% elseif self.widget == "radio" then %>
-       <div<%= attr("id", cbid) %>>
+       <div>
                <% for i, key in pairs(self.keylist) do %>
                        <label<%=
                                attr("id", cbid.."-"..key) ..
index ccdd6fc..ca7b94c 100644 (file)
@@ -21,7 +21,7 @@
                <%- end %>
        </select>
 <% elseif self.widget == "checkbox" then %>
-       <div<%= attr("id", cbid) %>>
+       <div>
                <% for i, key in pairs(self.keylist) do %>
                        <label<%=
                                attr("id", cbid.."-"..key) ..