diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-18 17:05:36 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-01-18 17:05:36 +0100 |
commit | b50471787feb9c04b365ff239aee8f39eadc236b (patch) | |
tree | cef8b5577dd9365c2d2de3106772c3f7dd705e93 /modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm | |
parent | be8dba57a9824179a6b942e27e7203d0ba921129 (diff) |
luci-base: refactor cbi dependency handling code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm')
-rw-r--r-- | modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm b/modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm index 220ebd42b..786ee43d1 100644 --- a/modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm +++ b/modules/luci-base/luasrc/view/cbi/cell_valuefooter.htm @@ -1,20 +1,2 @@ </div> -<div id="cbip-<%=self.config.."-"..section.."-"..self.option%>"></div> </td> - -<% if #self.deps > 0 then -%> - <script type="text/javascript"> - <% for j, d in ipairs(self.deps) do -%> - cbi_d_add("cbi-<%=self.config.."-"..section.."-"..self.option..d.add%>", { - <%- - for k,v in pairs(d.deps) do - -%> - <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%> - <%-if next(d.deps, k) then-%>,<%-end-%> - <%- - end - -%> - }, "cbip-<%=self.config.."-"..section.."-"..self.option%>"); - <%- end %> - </script> -<%- end %> |