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:
9c4b226
)
CRM-15618 - Crude workaround for front-end WP js bug
author
Coleman Watts
<coleman@civicrm.org>
Tue, 25 Nov 2014 02:38:43 +0000
(21:38 -0500)
committer
Coleman Watts
<coleman@civicrm.org>
Tue, 25 Nov 2014 02:38:43 +0000
(21:38 -0500)
templates/CRM/Core/BillingBlock.tpl
patch
|
blob
|
blame
|
history
diff --git
a/templates/CRM/Core/BillingBlock.tpl
b/templates/CRM/Core/BillingBlock.tpl
index 53cab5ec941c0157525700c0730c2f53855d8a58..936410cde25bf43ebd37fe867b4d9d64ac5310ca 100644
(file)
--- a/
templates/CRM/Core/BillingBlock.tpl
+++ b/
templates/CRM/Core/BillingBlock.tpl
@@
-226,7
+226,7
@@
CRM.$(function($) {
}
if(checked) {
$('#billingcheckbox').prop('checked', true);
- if (CRM.billing.billingProfileIsHideable) {
+ if (
!CRM.billing ||
CRM.billing.billingProfileIsHideable) {
$('.billing_name_address-group').hide();
}
}
@@
-266,7
+266,7
@@
CRM.$(function($) {
// toggle show/hide
$('#billingcheckbox').click(function(){
if(this.checked) {
- if (CRM.billing.billingProfileIsHideable) {
+ if (
!CRM.billing ||
CRM.billing.billingProfileIsHideable) {
$('.billing_name_address-group').hide(200);
}