summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main.cgi
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-10-23 20:46:01 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-10-23 20:46:01 -0500
commit50b038e338455c5d20f48f99767767b70c515c31 (patch)
tree087cfe5a46097a0f0328cc6fd7d7ebf92f02cbe5 /httemplate/view/cust_main.cgi
parentacfdb8bec93849e35ae5c4abc276d6ca8006f717 (diff)
RT#38533: One click re-send refund,payment receipt, invoice
Diffstat (limited to 'httemplate/view/cust_main.cgi')
-rwxr-xr-xhttemplate/view/cust_main.cgi8
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>