summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/cust_main_note.cgi
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-11-11 14:42:48 -0800
committerIvan Kohler <ivan@freeside.biz>2016-11-11 14:42:48 -0800
commit2756019bdb10fe144debfc8d6436468a89954eb3 (patch)
treeb1ac56d5fff86506d0c8d61cf2962df9f99f9db6 /httemplate/edit/process/cust_main_note.cgi
parentd6216f073a9a729d3265741d3aea4f4ade1c6a7f (diff)
UX: acknowledge actions instead of silently redirecting
Diffstat (limited to 'httemplate/edit/process/cust_main_note.cgi')
-rwxr-xr-xhttemplate/edit/process/cust_main_note.cgi6
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>