diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-10-23 20:46:01 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-10-28 22:20:45 -0500 |
commit | 2f879f8bba22877f5e32490c6f27ff8ff9c3fbd5 (patch) | |
tree | d2d79759c13852ef6fea6ff878fb4d1bccd52161 /httemplate/view/cust_main.cgi | |
parent | b1e8f7b5c082434415e36d3f247fbebca2a79f46 (diff) |
RT#38533: One click re-send refund,payment receipt, invoice
Diffstat (limited to 'httemplate/view/cust_main.cgi')
-rwxr-xr-x | httemplate/view/cust_main.cgi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/view/cust_main.cgi b/httemplate/view/cust_main.cgi index 95cb5da7c..af611bbbd 100755 --- a/httemplate/view/cust_main.cgi +++ b/httemplate/view/cust_main.cgi @@ -35,6 +35,14 @@ function areyousure(href, message) { if (confirm(message) == true) window.location.href = href; } +function areyousure_popup(message, action, actionlabel) { + if (confirm(message) == true) { +<% include('/elements/popup_link_onclick.html', + 'js_action' => 'action', + 'js_actionlabel' => 'actionlabel', + ) %> + } +} </SCRIPT> <br> |