From: Jo-Philipp Wich Date: Tue, 23 Feb 2016 08:27:12 +0000 (+0100) Subject: luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox... X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=385a49277ac3339e3ea9a41abde2db0eba5427f9 luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/luasrc/view/cbi/lvalue.htm b/modules/luci-base/luasrc/view/cbi/lvalue.htm index 61759fdd4..99f456dc5 100644 --- a/modules/luci-base/luasrc/view/cbi/lvalue.htm +++ b/modules/luci-base/luasrc/view/cbi/lvalue.htm @@ -21,7 +21,7 @@ <%- end %> <% elseif self.widget == "radio" then %> - > +
<% for i, key in pairs(self.keylist) do %> <% elseif self.widget == "checkbox" then %> - > +
<% for i, key in pairs(self.keylist) do %>