From 385a49277ac3339e3ea9a41abde2db0eba5427f9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 23 Feb 2016 09:27:12 +0100 Subject: [PATCH] luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/lvalue.htm | 2 +- modules/luci-base/luasrc/view/cbi/mvalue.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-base/luasrc/view/cbi/lvalue.htm b/modules/luci-base/luasrc/view/cbi/lvalue.htm index 61759fdd41..99f456dc54 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 %>