diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 14:42:50 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-11-11 14:42:50 -0800 |
| commit | 3e01be6fff8c2717256b15d43ac72fb278f79438 (patch) | |
| tree | f6a6583ba79069b6e490233f042628168bfd21c2 /httemplate/edit/process/cust_main_note.cgi | |
| parent | 4408ac2321d14809b49f94877717602a90a3ada9 (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> |
