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