summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main-unsuspend.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-11 12:48:13 -0800
committerIvan Kohler <ivan@freeside.biz>2016-11-11 12:48:13 -0800
commit3f8bffa5344295cacf11249fdb6f6f958f939fb8 (patch)
treec326b2c8f4e76d0d7df9f6613d86c013acf06d55 /httemplate/misc/cust_main-unsuspend.cgi
parent4afceb55388ffa32d18c2b821fda11027540dce5 (diff)
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/misc/cust_main-unsuspend.cgi')
-rwxr-xr-xhttemplate/misc/cust_main-unsuspend.cgi3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/misc/cust_main-unsuspend.cgi b/httemplate/misc/cust_main-unsuspend.cgi
index 99ec70a23..7ccd707bf 100755
--- a/httemplate/misc/cust_main-unsuspend.cgi
+++ b/httemplate/misc/cust_main-unsuspend.cgi
@@ -1,5 +1,8 @@
<& /elements/header-popup.html, mt("Customer unsuspended") &>
<SCRIPT TYPE="text/javascript">
+ Cookies.set('freeside_status', <% mt("Customer unsuspended") |js_string %>,{
+ expires: 0.0035
+ });
topreload();
</SCRIPT>
</BODY>