From d625549fdb69eb4b9ce8658b90a9552a20f14e88 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 19 Dec 2014 16:10:58 -0500 Subject: [PATCH] Fix premium block updates on contribution pages. --- templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl b/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl index fb16962567..de7b8887d4 100644 --- a/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl +++ b/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl @@ -194,6 +194,8 @@ // 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; @@ -221,6 +223,7 @@ 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 -- 2.25.1