Fix attr vs prop
authorColeman Watts <coleman@civicrm.org>
Sat, 13 Sep 2014 20:29:56 +0000 (16:29 -0400)
committerColeman Watts <coleman@civicrm.org>
Sat, 13 Sep 2014 20:29:56 +0000 (16:29 -0400)
templates/CRM/Contribute/Form/AdditionalPayment.tpl

index 822c69fdeaf4ee65dc4e6b9b48e76c909b34c50b..c68372fb1ca1d7e5653958847986ad8853ef10ee 100644 (file)
   {literal}
   <script type="text/javascript">
   function verify( ) {
-    if (cj('#is_email_receipt').attr( 'checked' )) {
+    if (cj('#is_email_receipt').prop('checked')) {
       var ok = confirm( '{/literal}{ts escape='js'}Click OK to save this payment record AND send a receipt to the contributor now{/ts}{literal}.' );
       if (!ok) {
         return false;