From d3b6056ce7535dab46fb1ef36e2d8cd12b3c3252 Mon Sep 17 00:00:00 2001 From: Muhammad Shahrukh <> Date: Fri, 2 Aug 2024 16:46:42 +0500 Subject: [PATCH] COMCL-674: Fix new contribution page layout --- js/contribution-entityref-field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/contribution-entityref-field.js b/js/contribution-entityref-field.js index 8d0922353..11731408e 100644 --- a/js/contribution-entityref-field.js +++ b/js/contribution-entityref-field.js @@ -11,7 +11,7 @@ const entityRefCustomFields = Object.values(CRM.vars.civicase.entityRefCustomFields ?? {}); /* eslint-disable no-undef */ - waitForElement($, '#customData', function ($, elem) { + waitForElement($, '#customData_Contribution', function ($, elem) { entityRefCustomFields.forEach(field => { $(`[name^=${field.name}_]`) .attr('placeholder', field.placeholder)