summaryrefslogtreecommitdiffstats
path: root/lbu-listbackups-html.lsp
diff options
context:
space:
mode:
authorZach LeBar <zach@zachlebar.com>2012-03-21 20:55:37 +0000
committerZach LeBar <zach@zachlebar.com>2012-03-21 20:55:37 +0000
commit6051b3a43d38af1758b88620d7320a3482a23ae6 (patch)
treef77de617b91d35c34e17dd4c42f9db46ac737662 /lbu-listbackups-html.lsp
parent5974f4c3a448cf072f82210cf90441c8829cf487 (diff)
downloadacf-alpine-conf-6051b3a43d38af1758b88620d7320a3482a23ae6.tar.bz2
acf-alpine-conf-6051b3a43d38af1758b88620d7320a3482a23ae6.tar.xz
Change lbu-controller.lua to use new handle_form() functions found in acf_www-controller.lua instead of the controllerfunctions.lua version and also instead of redirect_to_referrer(). Made corresponding changes to vmail-model.lua to make everything work.
Diffstat (limited to 'lbu-listbackups-html.lsp')
-rw-r--r--lbu-listbackups-html.lsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbu-listbackups-html.lsp b/lbu-listbackups-html.lsp
index f528227..579411e 100644
--- a/lbu-listbackups-html.lsp
+++ b/lbu-listbackups-html.lsp
@@ -15,7 +15,7 @@ No backup files
</tr>
<% for i,name in ipairs(view.value) do %>
<tr><td>
- <%= html.link{value="selectbackup?backup="..name, label="Revert "} %>
+ <%= html.link{value="selectbackup?backup="..name.."&redir=config&submit=true", label="Revert "} %>
</td>
<td><%= html.html_escape(name) %></td></tr>
<% end