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:
aadd21c
)
CRM-16044 - Back out JS changes after much discussion.
author
Lola Slade
<lola@freeform.ca>
Sat, 25 Apr 2015 23:19:37 +0000
(17:19 -0600)
committer
Lola Slade
<lola@freeform.ca>
Sat, 25 Apr 2015 23:19:37 +0000
(17:19 -0600)
templates/CRM/Member/Form/Membership.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Member/Form/Membership.tpl
b/templates/CRM/Member/Form/Membership.tpl
index 2d53643d148a9a0d1955a9779a388fd651fb7728..37df7b3056aa0a20a7666b8dae3a1b5314addaf6 100644
(file)
--- a/
templates/CRM/Member/Form/Membership.tpl
+++ b/
templates/CRM/Member/Form/Membership.tpl
@@
-652,6
+652,19
@@
cj("#auto_renew").prop('checked', false );
cj("#autoRenew").hide( );
}
+
+ //play w/ receipt option.
+ if ( cj("#auto_renew").prop('checked' ) ) {
+ cj("#notice").hide( );
+ cj("#send_receipt").prop('checked', false );
+ cj("#send-receipt").hide( );
+ }
+ else {
+ cj("#send-receipt").show( );
+ if ( cj("#send_receipt").prop('checked' ) ) {
+ cj("#notice").show( );
+ }
+ }
}
{/literal}
{/if}