From f25362171e31cb9728d529308e25b42056312c08 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 7 Oct 2015 22:01:09 -0400 Subject: [PATCH] CRM-16725 - Add status msg when downloading PDF --- templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl | 3 +++ 1 file changed, 3 insertions(+) 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() { -- 2.25.1