Fix premium block updates on contribution pages.
authorDavid Thompson <dthompson2@worcester.edu>
Fri, 19 Dec 2014 21:10:58 +0000 (16:10 -0500)
committerDavid Thompson <dthompson2@worcester.edu>
Fri, 19 Dec 2014 21:10:58 +0000 (16:10 -0500)
templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl

index fb16962567330278ff6e3c179e1a6a26d3cbc375..de7b8887d4d66402324b847f27eabd21535f2c37 100644 (file)
           // next, check for membership level price set
           check_price_set('.membership_amount-content input[type="radio"]');
 
+          check_price_set('.price-set-option-content input[type="radio"]');
+
           // make sure amount is a number at this point
           if(!amount) amount = 0;
 
         cj('.other_amount-content input').change(update_premiums);
         cj('.contribution_amount-content input[type="radio"]').click(update_premiums);
         cj('.membership_amount-content input[type="radio"]').click(update_premiums);
+        cj('.price-set-option-content input[type="radio"]').click(update_premiums);
         update_premiums();
 
         // build a list of price sets