CRM-17148 set crm-initial-value for billingcheckbox
authorBrian Shaughnessy <brian@lcdservices.biz>
Thu, 3 Sep 2015 17:12:10 +0000 (13:12 -0400)
committerBrian Shaughnessy <brian@lcdservices.biz>
Thu, 3 Sep 2015 17:12:10 +0000 (13:12 -0400)
templates/CRM/Core/BillingBlock.tpl

index b86021d6560fff56d68ac6d1ab3e128e6c17ba66..7f45e053ff5f5be1111487820db552feb7824d24 100644 (file)
         }
       }
       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();
         }