From: Brian Shaughnessy Date: Thu, 3 Sep 2015 17:12:10 +0000 (-0400) Subject: CRM-17148 set crm-initial-value for billingcheckbox X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cce5bc840b46b12563a48c2fcfaee81fc1d61982;p=civicrm-core.git CRM-17148 set crm-initial-value for billingcheckbox --- diff --git a/templates/CRM/Core/BillingBlock.tpl b/templates/CRM/Core/BillingBlock.tpl index b86021d656..7f45e053ff 100644 --- a/templates/CRM/Core/BillingBlock.tpl +++ b/templates/CRM/Core/BillingBlock.tpl @@ -131,7 +131,7 @@ } } if (checked) { - $('#billingcheckbox').prop('checked', true); + $('#billingcheckbox').prop('checked', true).data('crm-initial-value', true); if (!CRM.billing || CRM.billing.billingProfileIsHideable) { $('.billing_name_address-group').hide(); }