projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UX: acknowledge actions instead of silently redirecting
[freeside.git]
/
httemplate
/
misc
/
cust_main-suspend.cgi
diff --git
a/httemplate/misc/cust_main-suspend.cgi
b/httemplate/misc/cust_main-suspend.cgi
index
e81e2b4
..
f20f20c
100755
(executable)
--- 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") &>
<& /elements/header-popup.html, mt("Customer suspended") &>
+ <script src="<% $fsurl %>elements/js.cookie.js"></script>
<SCRIPT TYPE="text/javascript">
<SCRIPT TYPE="text/javascript">
+ Cookies.set('freeside_status', <% mt("Customer suspended") |js_string %>,{
+ expires: 0.0035
+ });
topreload();
</SCRIPT>
</BODY>
topreload();
</SCRIPT>
</BODY>