summaryrefslogtreecommitdiffstats
path: root/apk-expert-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-17 20:02:58 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-17 20:02:58 +0000
commit7ab8a562ec74cdbed03d204dee2fc53304f67b91 (patch)
treef6688743a023f55e21a46b3027ee7f7645d8943a /apk-expert-html.lsp
parentcdc3e7a7891f2047a00bec941aff5756558271ed (diff)
parentb1d62376783a9b449ad13c5000f35eaa9a87662c (diff)
downloadacf-apk-tools-7ab8a562ec74cdbed03d204dee2fc53304f67b91.tar.bz2
acf-apk-tools-7ab8a562ec74cdbed03d204dee2fc53304f67b91.tar.xz
Merge ssh://git.alpinelinux.org/gitroot/zelebar/acf-apk-tools
Diffstat (limited to 'apk-expert-html.lsp')
-rw-r--r--apk-expert-html.lsp10
1 files changed, 8 insertions, 2 deletions
diff --git a/apk-expert-html.lsp b/apk-expert-html.lsp
index 47f8bc8..4dd9f47 100644
--- a/apk-expert-html.lsp
+++ b/apk-expert-html.lsp
@@ -14,11 +14,17 @@ func(form, viewlibrary, page_info, session)
<DL>
<% if viewlibrary.check_permission("updateall") then %>
<DT>Update Index</DT>
- <DD><form action="updateall" method="POST"><input class="submit" type="submit" value="Update"></form></DD>
+ <DD><form action="updateall" method="POST">
+ <input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" >
+ <input class="submit" type="submit" name="submit" value="Update">
+ </form></DD>
<% end %>
<% if viewlibrary.check_permission("upgradeall") then %>
<DT>Upgrade All</DT>
- <DD><form action="upgradeall" method="POST"><input class="submit" type="submit" value="Upgrade"></form></DD>
+ <DD><form action="upgradeall" method="POST">
+ <input class="hidden" type="hidden" name="redir" value="<%= html.html_escape(page_info.orig_action) %>" >
+ <input class="submit" type="submit" name="submit" value="Upgrade">
+ </form></DD>
<% end %>
</DL>
<% end %>