CRM-16725 - Add status msg when downloading PDF
authorColeman Watts <coleman@civicrm.org>
Thu, 8 Oct 2015 02:01:09 +0000 (22:01 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 8 Oct 2015 02:01:09 +0000 (22:01 -0400)
templates/CRM/Contact/Form/Task/PDFLetterCommon.tpl

index 65a473d0d928b7bc5b1fd54fb85ff12b954d5889..dc98840b15bf8336003f84e0fa6eb6341f5a98ff 100644 (file)
@@ -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() {