From: Maggie Date: Fri, 17 Jan 2014 21:26:28 +0000 (-0500) Subject: CRM-14088:Fixed selector to show lines to add more softcredits in new contribution... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bdde4cec7259543bc447484b792f9a980f6f27ca;p=civicrm-core.git CRM-14088:Fixed selector to show lines to add more softcredits in new contribution screen --- 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(); }