X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fcell_valuefooter.htm;h=c325e49cb40cb39197f828d35898bcedd9fcb0cf;hp=6dd5667146d35e526a998b38d5545c9d41b092b0;hb=892ed55ba08d3d5553e621e57d69a3eb8ffa4efc;hpb=898c45743aeda97da9e129d4d317d542eca3b4a4 diff --git a/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm b/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm index 6dd566714..c325e49cb 100644 --- a/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm @@ -12,6 +12,8 @@ You may obtain a copy of the License at $Id$ -%> + +
">
<% if #self.deps > 0 then -%> @@ -21,11 +23,12 @@ $Id$ <%- for k,v in pairs(d.deps) do -%> - <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>, + <%-=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 %> -<%- end %> +<%- end %> \ No newline at end of file