From bdde4cec7259543bc447484b792f9a980f6f27ca Mon Sep 17 00:00:00 2001 From: Maggie Date: Fri, 17 Jan 2014 16:26:28 -0500 Subject: [PATCH] CRM-14088:Fixed selector to show lines to add more softcredits in new contribution screen --- templates/CRM/Contribute/Form/SoftCredit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/CRM/Contribute/Form/SoftCredit.js b/templates/CRM/Contribute/Form/SoftCredit.js index 9be83558a0..2410d4baa7 100644 --- a/templates/CRM/Contribute/Form/SoftCredit.js +++ b/templates/CRM/Contribute/Form/SoftCredit.js @@ -12,7 +12,7 @@ cj(function($) { } $('#addMoreSoftCredit').click(function(){ - $('.crm-soft-credit-block tr.hiddenElement :first').show().removeClass('hiddenElement'); + $('.crm-contribution-form-block-soft_credit_to tr.hiddenElement').filter(':first').show().removeClass('hiddenElement'); if ( $('.crm-soft-credit-block tr.hiddenElement').length < 1 ) { $('#addMoreSoftCredit').hide(); } -- 2.25.1