From 9c3db58ee44dfd411336d7d460d0f7a6a10f0ee3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 22 Nov 2010 00:32:54 +0000 Subject: libs/web: combine apply actions of all maps on a page, prevents concurrent XHR --- libs/web/luasrc/view/cbi/map.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/web/luasrc/view/cbi/map.htm') diff --git a/libs/web/luasrc/view/cbi/map.htm b/libs/web/luasrc/view/cbi/map.htm index 640c3d115..406c7e74e 100644 --- a/libs/web/luasrc/view/cbi/map.htm +++ b/libs/web/luasrc/view/cbi/map.htm @@ -18,7 +18,7 @@ $Id$
<% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end %> <% if self.description and #self.description > 0 then %>
<%=self.description%>
<% end %> - <%- if self._apply then cbi_apply_xhr(self.config, self.parsechain, self.redirect) end -%> + <%- if firstmap and applymap then cbi_apply_xhr(self.config, parsechain, redirect) end -%> <%- self:render_children() %>
-- cgit v1.2.3