From: Nicol Date: Wed, 6 Dec 2023 21:03:33 +0000 (+0000) Subject: Restores 'active' display script function that was lost during
conversion X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7be6f023bb7a88910e5975047a5b44c557c17eed;p=civicrm-core.git Restores 'active' display script function that was lost during
conversion --- 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}