From 7be6f023bb7a88910e5975047a5b44c557c17eed Mon Sep 17 00:00:00 2001 From: Nicol Date: Wed, 6 Dec 2023 21:03:33 +0000 Subject: [PATCH] Restores 'active' display script function that was lost during
conversion --- templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl b/templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl index bf35354899..e8f459bad5 100644 --- a/templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl +++ b/templates/CRM/Contact/Form/Search/AdvancedCriteria.tpl @@ -24,6 +24,7 @@ CRM.$(function($) { var header = $(this).parent(); header.next().html(''); header.removeClass('active'); + header.parent('.crm-ajax-accordion:not(.collapsed)').crmAccordionToggle(); // Reset results-display mode if it depends on this pane var mode = modes[$('#component_mode').val()] || null; if (mode && header.attr('id') == mode) { @@ -110,7 +111,7 @@ CRM.$(function($) {
{foreach from=$allPanes key=paneName item=paneValue} -
+
{$paneName} -- 2.25.1