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:
parent
1f4f828503
commit
385a49277a
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
<%- end %>
|
<%- end %>
|
||||||
</select>
|
</select>
|
||||||
<% elseif self.widget == "radio" then %>
|
<% elseif self.widget == "radio" then %>
|
||||||
<div<%= attr("id", cbid) %>>
|
<div>
|
||||||
<% for i, key in pairs(self.keylist) do %>
|
<% for i, key in pairs(self.keylist) do %>
|
||||||
<label<%=
|
<label<%=
|
||||||
attr("id", cbid.."-"..key) ..
|
attr("id", cbid.."-"..key) ..
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<%- end %>
|
<%- end %>
|
||||||
</select>
|
</select>
|
||||||
<% elseif self.widget == "checkbox" then %>
|
<% elseif self.widget == "checkbox" then %>
|
||||||
<div<%= attr("id", cbid) %>>
|
<div>
|
||||||
<% for i, key in pairs(self.keylist) do %>
|
<% for i, key in pairs(self.keylist) do %>
|
||||||
<label<%=
|
<label<%=
|
||||||
attr("id", cbid.."-"..key) ..
|
attr("id", cbid.."-"..key) ..
|
||||||
|
|
Loading…
Reference in a new issue