diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 12:48:13 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 12:48:13 -0800 |
commit | 3f8bffa5344295cacf11249fdb6f6f958f939fb8 (patch) | |
tree | c326b2c8f4e76d0d7df9f6613d86c013acf06d55 /httemplate/misc/cust_main-unsuspend.cgi | |
parent | 4afceb55388ffa32d18c2b821fda11027540dce5 (diff) |
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/misc/cust_main-unsuspend.cgi')
-rwxr-xr-x | httemplate/misc/cust_main-unsuspend.cgi | 3 |
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> |