projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e815b31
)
Combine jQuery selectors
author
colemanw
<coleman@civicrm.org>
Thu, 11 May 2017 21:25:43 +0000
(16:25 -0500)
committer
GitHub
<noreply@github.com>
Thu, 11 May 2017 21:25:43 +0000
(16:25 -0500)
templates/CRM/Admin/Form/MessageTemplates.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Admin/Form/MessageTemplates.tpl
b/templates/CRM/Admin/Form/MessageTemplates.tpl
index 2634ae8ced18211d24cbfea33975b9d1a5f83a74..d3add4b05b62f40333f98a7abd8ec2a873216347 100644
(file)
--- a/
templates/CRM/Admin/Form/MessageTemplates.tpl
+++ b/
templates/CRM/Admin/Form/MessageTemplates.tpl
@@
-165,8
+165,7
@@
});
function showHideUpload(type) {
var show = (type == 1) ? false : true;
- $("#msg_html_section").toggle(show);
- $("#msg_text_section, #pdf_format").toggle(show);
+ $("#msg_html_section, #msg_text_section, #pdf_format").toggle(show);
$("#file_id").parent().parent().toggle(!show);
// auto file type validation