From f35d3f5e4e1ed8128545593d043bd969f6e8a290 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 19 Jan 2017 16:05:34 +0530 Subject: [PATCH] CRM-19794: Wrong fields displayed when setting a price set for a contribution page --- templates/CRM/Contribute/Form/ContributionPage/Amount.tpl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl b/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl index ef0d84e065..e4e272247b 100644 --- a/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl +++ b/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl @@ -272,6 +272,8 @@ {/if} {literal} CRM.$(function($) { + var psid = $('#price_set_id').val(); + showHideAmountBlock(psid, 'price_set_id'); function checked_payment_processors() { var ids = []; $('.crm-contribution-contributionpage-amount-form-block-payment_processor input[type="checkbox"]').each(function(){ -- 2.25.1