summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main-suspend.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-suspend.cgi
parent4afceb55388ffa32d18c2b821fda11027540dce5 (diff)
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/misc/cust_main-suspend.cgi')
-rwxr-xr-xhttemplate/misc/cust_main-suspend.cgi4
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/misc/cust_main-suspend.cgi b/httemplate/misc/cust_main-suspend.cgi
index e81e2b490..f20f20c13 100755
--- a/httemplate/misc/cust_main-suspend.cgi
+++ b/httemplate/misc/cust_main-suspend.cgi
@@ -1,5 +1,9 @@
<& /elements/header-popup.html, mt("Customer suspended") &>
+ <script src="<% $fsurl %>elements/js.cookie.js"></script>
<SCRIPT TYPE="text/javascript">
+ Cookies.set('freeside_status', <% mt("Customer suspended") |js_string %>,{
+ expires: 0.0035
+ });
topreload();
</SCRIPT>
</BODY>