From 13edd4117c700bb338b28be8004739fbf1949170 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 7 Aug 2020 12:09:55 +1000 Subject: [PATCH] [REF] Fix jquery validation for on behalf of fields when combined with a preimum --- templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl | 2 -- 1 file changed, 2 deletions(-) diff --git a/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl b/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl index db7e56220c..6ca766cc26 100644 --- a/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl +++ b/templates/CRM/Contribute/Form/Contribution/PremiumBlock.tpl @@ -332,8 +332,6 @@ $('#selectProduct').rules('add', 'premiums'); }); - // need to use jquery validate's ignore option, so that it will not ignore hidden fields - CRM.validate.params['ignore'] = '.ignore'; }); {/literal} -- 2.25.1