From: Coleman Watts Date: Thu, 8 Oct 2015 02:01:09 +0000 (-0400) Subject: CRM-16725 - Add status msg when downloading PDF X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f25362171e31cb9728d529308e25b42056312c08;p=civicrm-core.git CRM-16725 - Add status msg when downloading PDF --- diff --git a/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl b/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl index 65a473d0d9..dc98840b15 100644 --- a/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl +++ b/templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl @@ -140,6 +140,9 @@ CRM.$(function($) { }]); } }); + $('[name^=_qf_PDF_submit]', $form).click(function() { + CRM.status({/literal}"{ts escape='js'}Downloading...{/ts}"{literal}); + }); showSaveDetails($('input[name=saveTemplate]', $form)[0]); function showSaveTemplate() {