diff options
author | Steven Barth <steven@midlink.org> | 2008-09-06 14:59:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-06 14:59:48 +0000 |
commit | 9befed193ae828c2b58390e8c0efafdab37f45b8 (patch) | |
tree | 81e14c3013b6271eb475a184eb9e7d001d7ce3fa /libs/cbi/luasrc/view | |
parent | 03e11688ca1678b13b17f29b7a0f3d5809e5ca99 (diff) |
cbi: Increare responsiveness of "Save & Apply"
Diffstat (limited to 'libs/cbi/luasrc/view')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/map.htm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/cbi/luasrc/view/cbi/map.htm b/libs/cbi/luasrc/view/cbi/map.htm index e29b4fc746..e61f8543ab 100644 --- a/libs/cbi/luasrc/view/cbi/map.htm +++ b/libs/cbi/luasrc/view/cbi/map.htm @@ -16,6 +16,19 @@ $Id$ <div class="cbi-map" id="cbi-<%=self.config%>"> <h1><%=self.title%></h1> <div class="cbi-map-descr"><%=self.description%></div> + <%- if self._apply then -%><code><%:cbi_applying%>: + + <% + local fp = self._apply() + self._apply = nil + local line = fp:read() + while line do + write(line) + line = fp:read() + end + fp:close() + -%> + </code><%- end -%> <%- self:render_children() %> <br /> </div> |