From 38e60dcf9bbd7208ae15282c333d2f1f7ea4d0a3 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 16 Sep 2008 15:51:11 +0000 Subject: More IE compatibility fixes --- libs/cbi/luasrc/view/cbi/cell_valuefooter.htm | 6 ++++-- libs/cbi/luasrc/view/cbi/cell_valueheader.htm | 3 ++- libs/cbi/luasrc/view/cbi/full_valuefooter.htm | 6 +++--- libs/cbi/luasrc/view/cbi/nullsection.htm | 2 +- libs/cbi/luasrc/view/cbi/ucisection.htm | 5 +++-- 5 files changed, 13 insertions(+), 9 deletions(-) (limited to 'libs/cbi/luasrc/view') diff --git a/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm b/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm index e4f7982942..c325e49cb4 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 -%> @@ -26,7 +28,7 @@ $Id$ <%- end -%> - }); + }, "cbip-<%=self.config.."-"..section.."-"..self.option%>"); <%- end %> -<%- end %> +<%- end %> \ No newline at end of file diff --git a/libs/cbi/luasrc/view/cbi/cell_valueheader.htm b/libs/cbi/luasrc/view/cbi/cell_valueheader.htm index dda17463cf..0f24f1f764 100644 --- a/libs/cbi/luasrc/view/cbi/cell_valueheader.htm +++ b/libs/cbi/luasrc/view/cbi/cell_valueheader.htm @@ -13,4 +13,5 @@ $Id$ -%> -"> + +
"> diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index d05714033c..a9596441b5 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -28,7 +28,7 @@ $Id$
<% if #self.deps > 0 then -%> - -<%- end %> +<%- end %> \ No newline at end of file diff --git a/libs/cbi/luasrc/view/cbi/nullsection.htm b/libs/cbi/luasrc/view/cbi/nullsection.htm index 476db96d87..9520b47cab 100644 --- a/libs/cbi/luasrc/view/cbi/nullsection.htm +++ b/libs/cbi/luasrc/view/cbi/nullsection.htm @@ -16,7 +16,7 @@ $Id$ <% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %> -
+
<% self:render_children(1, scope or {}) %>

diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index 5023f6a2f3..5504a7476c 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -40,7 +40,7 @@ $Id$ <% end %> <% else %> - <% for key, val in pairs(self.optionals[section]) do -%> @@ -52,7 +52,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 -%> -- cgit v1.2.3