diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-23 09:27:12 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-02-23 09:27:25 +0100 |
commit | 385a49277ac3339e3ea9a41abde2db0eba5427f9 (patch) | |
tree | c4d6424b38c5934b8b662e9d2aaa89835579e41a | |
parent | 1f4f8285036f257c8967cbf177314af9adfad1a9 (diff) |
luci-base: cbi: fix dependency handling of list and multivalues with radio/checkbox widgets
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/lvalue.htm | 2 | ||||
-rw-r--r-- | 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 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 %> </select> <% elseif self.widget == "radio" then %> - <div<%= attr("id", cbid) %>> + <div> <% for i, key in pairs(self.keylist) do %> <label<%= attr("id", cbid.."-"..key) .. diff --git a/modules/luci-base/luasrc/view/cbi/mvalue.htm b/modules/luci-base/luasrc/view/cbi/mvalue.htm index ccdd6fcab..ca7b94c15 100644 --- a/modules/luci-base/luasrc/view/cbi/mvalue.htm +++ b/modules/luci-base/luasrc/view/cbi/mvalue.htm @@ -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) .. |