diff options
author | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 14:42:48 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 14:42:48 -0800 |
commit | 2756019bdb10fe144debfc8d6436468a89954eb3 (patch) | |
tree | b1ac56d5fff86506d0c8d61cf2962df9f99f9db6 /httemplate/edit/process/cust_main_note.cgi | |
parent | d6216f073a9a729d3265741d3aea4f4ade1c6a7f (diff) |
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/edit/process/cust_main_note.cgi')
-rwxr-xr-x | httemplate/edit/process/cust_main_note.cgi | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/httemplate/edit/process/cust_main_note.cgi b/httemplate/edit/process/cust_main_note.cgi index 2428689c6..1fd136723 100755 --- a/httemplate/edit/process/cust_main_note.cgi +++ b/httemplate/edit/process/cust_main_note.cgi @@ -2,11 +2,7 @@ % $cgi->param('error', $error); <% $cgi->redirect(popurl(2). 'cust_main_note.cgi?'. $cgi->query_string ) %> %} else { -<& /elements/header-popup.html, 'Note ' . ($notenum ? 'updated' : 'added') &> - <SCRIPT TYPE="text/javascript"> - topreload(); - </SCRIPT> - </BODY></HTML> +<& /elements/popup-topreload.html, mt( 'Note '. ($notenum ? 'updated' : 'added') ) &> % } <%init> |