additional fixes
[civicrm-core.git] / templates / CRM / Contact / Form / Task / PDFLetterCommon.tpl
index 47eba656866ea59fd3792b333c6be92896e6ce61..ec4e1ef00b6e951938c72e80f841785c4b89c9c1 100644 (file)
@@ -150,7 +150,8 @@ CRM.$(function($) {
     $('.crm-document-accordion').hide();
     $('#document_file').on('change', function() {
       if (this.value) {
-        $('.crm-html_email-accordion, .crm-document-accordion').toggle(false);
+        $('.crm-html_email-accordion, .crm-document-accordion').hide();
+        cj('#document_type').closest('tr').hide();
         $('#template').val('');
       }
     });