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 61759fdd41ff588c7687e9e46a1e635a4083bedc..99f456dc54cbe847215fc8c02708d76f46148b35 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 ccdd6fcab397c0641dcd4286b5797876bcdd264c..ca7b94c15e219685fc1dfff7b7a6e93fde4a13c0 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) ..