diff --git a/app/webroot/js/document_add_edit.js b/app/webroot/js/document_add_edit.js index f1a8b296..7b30ee79 100755 --- a/app/webroot/js/document_add_edit.js +++ b/app/webroot/js/document_add_edit.js @@ -406,6 +406,7 @@ $(function() { $("#emailDocButton").click(function() { var confirmed = confirm("This will email this Document and all Attachments to the Contact. Are you sure you want to do this?"); + if(confirmed) { window.location = $(this).data('url'); }