summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-11 12:48:15 -0800
committerIvan Kohler <ivan@freeside.biz>2016-11-11 12:48:15 -0800
commit5fc06d3c683c6d9a51508e2a50fa7e487af9294d (patch)
treeec8d55fdc15b61dc2757532101260b02d62ef470 /httemplate/edit/process
parent287b33b072a38c08535bc0c300ea48e0a587190c (diff)
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-xhttemplate/edit/process/cust_main.cgi9
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/edit/process/cust_main.cgi b/httemplate/edit/process/cust_main.cgi
index 2cb1648f7..354e22ee6 100755
--- a/httemplate/edit/process/cust_main.cgi
+++ b/httemplate/edit/process/cust_main.cgi
@@ -15,7 +15,14 @@
%
% } else {
%
-<% $cgi->redirect(popurl(3). "view/cust_main.cgi?". $new->custnum) %>
+<% $cgi->redirect( -uri => popurl(3). "view/cust_main.cgi?". $new->custnum,
+ -cookie => CGI::Cookie->new(
+ -name => 'freeside_status',
+ -value => mt('Customer edited'),
+ -expires => '+5m',
+ ),
+ )
+%>
%
% }
<%once>