Internet suXplorer JavaScript compatibility fixes
[project/luci.git] / libs / cbi / luasrc / view / cbi / full_valuefooter.htm
index e42043e..d057140 100644 (file)
@@ -34,7 +34,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
                -%>