CRM-19794: Wrong fields displayed when setting a price set for a contribution page
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 19 Jan 2017 10:35:34 +0000 (16:05 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 19 Jan 2017 10:35:34 +0000 (16:05 +0530)
templates/CRM/Contribute/Form/ContributionPage/Amount.tpl

index ef0d84e0659b1d70975a1a3bc7ff0e256c5068a7..e4e272247b971faf6e9eea34baff9ee3923d3e8e 100644 (file)
        {/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(){