diff options
Diffstat (limited to 'httemplate/edit/process')
-rw-r--r-- | httemplate/edit/process/cust_main_attach.cgi | 6 | ||||
-rwxr-xr-x | httemplate/edit/process/cust_main_note.cgi | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/httemplate/edit/process/cust_main_attach.cgi b/httemplate/edit/process/cust_main_attach.cgi index 2935d68a0..20673dc9b 100644 --- a/httemplate/edit/process/cust_main_attach.cgi +++ b/httemplate/edit/process/cust_main_attach.cgi @@ -7,11 +7,7 @@ % $act = 'purged' if($attachnum and $purge); % $act = 'undeleted' if($attachnum and $undelete); % $act = 'deleted' if($attachnum and $delete); -<& /elements/header-popup.html, 'Attachment ' . $act &> - <SCRIPT TYPE="text/javascript"> - topreload(); - </SCRIPT> - </BODY></HTML> +<& /elements/popup-topreload.html, mt("Attachment $act") &> % } <%init> 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> |