diff options
author | Zach LeBar <zach@zachlebar.com> | 2012-03-21 15:06:32 +0000 |
---|---|---|
committer | Zach LeBar <zach@zachlebar.com> | 2012-03-21 15:09:16 +0000 |
commit | 0874f88bc25066248c28b16d3bbf1ab5cd1f2611 (patch) | |
tree | 28ee52ea1b8a44eeff8453b6264953a2ab2665bd /rc-status-html.lsp | |
parent | 6d638ac9d28eac2c144d229359b64c0edaee2b4d (diff) | |
download | acf-alpine-baselayout-0874f88bc25066248c28b16d3bbf1ab5cd1f2611.tar.bz2 acf-alpine-baselayout-0874f88bc25066248c28b16d3bbf1ab5cd1f2611.tar.xz |
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.HEADmaster
Diffstat (limited to 'rc-status-html.lsp')
-rw-r--r-- | rc-status-html.lsp | 2 |
1 files changed, 1 insertions, 1 deletions
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 %> <TD><%= html.html_escape(item.servicename) %></TD> |