X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main.cgi;h=af611bbbd76e6e697fcdfe6cda0c90704c3d80d9;hb=6e33e8af0974d49c1c0cf65b1963846d35f6c156;hp=95cb5da7cbf3e4ad21b331f8130187c2c2af6c48;hpb=9aee669886202be7035e6c6049fc71bc99dd3013;p=freeside.git 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', + ) %> + } +}