From: Matthew Wire Date: Sat, 5 Dec 2020 15:26:17 +0000 (+0000) Subject: Fix extensions tabs following deprecation of old tab code X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d3d5bc0593c90f9b88dcbf5440cdde734d95bb3b;p=civicrm-core.git Fix extensions tabs following deprecation of old tab code --- diff --git a/CRM/Admin/Page/Extensions.php b/CRM/Admin/Page/Extensions.php index 46d16e938f..79b4100224 100644 --- a/CRM/Admin/Page/Extensions.php +++ b/CRM/Admin/Page/Extensions.php @@ -132,6 +132,12 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic { $remoteExtensionRows = $this->formatRemoteExtensionRows($localExtensionRows); $this->assign('remoteExtensionRows', $remoteExtensionRows); + + Civi::resources() + ->addScriptFile('civicrm', 'templates/CRM/common/TabHeader.js', 1, 'html-header') + ->addSetting([ + 'tabSettings' => ['active' => $_GET['selectedChild'] ?? NULL], + ]); } /**