diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 12:48:15 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 12:48:15 -0800 |
| commit | 5fc06d3c683c6d9a51508e2a50fa7e487af9294d (patch) | |
| tree | ec8d55fdc15b61dc2757532101260b02d62ef470 /httemplate/edit/process | |
| parent | 287b33b072a38c08535bc0c300ea48e0a587190c (diff) | |
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/edit/process')
| -rwxr-xr-x | httemplate/edit/process/cust_main.cgi | 9 |
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> |
