luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich
2016-02-23 09:27:25 +01:00
parent 1f4f828503
commit 385a49277a
2 changed files with 2 additions and 2 deletions
+1 -1
View 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) ..
+1 -1
View 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) ..