From 0874f88bc25066248c28b16d3bbf1ab5cd1f2611 Mon Sep 17 00:00:00 2001 From: Zach LeBar Date: Wed, 21 Mar 2012 15:06:32 +0000 Subject: Change all -controller.lua files 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. --- rc-status-html.lsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc-status-html.lsp') diff --git a/rc-status-html.lsp b/rc-status-html.lsp index b04913a..119c306 100644 --- a/rc-status-html.lsp +++ b/rc-status-html.lsp @@ -23,7 +23,7 @@ for i,item in ipairs(view.value) do %> <% end %> <% if viewlibrary.check_permission("startstop") and item.actions then for i,a in ipairs(item.actions) do - print(html.link{value="startstop?servicename="..item.servicename.."&action="..a, label=a:gsub("^%l", string.upper).." " }) + print(html.link{value="startstop?servicename="..item.servicename.."&redir=status&submit=true&action="..a, label=a:gsub("^%l", string.upper).." " }) end end %> <%= html.html_escape(item.servicename) %> -- cgit v1.2.3