summaryrefslogtreecommitdiff
path: root/httemplate/misc/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-11 11:42:54 -0800
committerIvan Kohler <ivan@freeside.biz>2016-11-11 11:42:54 -0800
commit287b33b072a38c08535bc0c300ea48e0a587190c (patch)
tree97f1a03a6e56fe7aa21eafe9d6da1f638e37b52b /httemplate/misc/process
parent70c70dbaa188bd8c8c9850657c1cd8d5a61cc8c5 (diff)
UX: add status to package actions, redirect back to package tab
Diffstat (limited to 'httemplate/misc/process')
-rwxr-xr-xhttemplate/misc/process/cancel_pkg.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/misc/process/cancel_pkg.html b/httemplate/misc/process/cancel_pkg.html
index b8be27113..0649261e7 100755
--- a/httemplate/misc/process/cancel_pkg.html
+++ b/httemplate/misc/process/cancel_pkg.html
@@ -1,5 +1,9 @@
<& /elements/header-popup.html, emt("Package $past_method") &>
+ <script src="<% $fsurl %>elements/js.cookie.js"></script>
<SCRIPT TYPE="text/javascript">
+ Cookies.set('freeside_status', <% mt("Package $past_method") |js_string %>,{
+ expires: 0.0035
+ });
topreload();
</SCRIPT>
</BODY>