Internet suXplorer JavaScript compatibility fixes
[project/luci.git] / libs / cbi / luasrc / view / cbi / cell_valuefooter.htm
index 6dd5667..e4f7982 100644 (file)
@@ -21,7 +21,8 @@ $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
                -%>