From d3d5bc0593c90f9b88dcbf5440cdde734d95bb3b Mon Sep 17 00:00:00 2001 From: Matthew Wire Date: Sat, 5 Dec 2020 15:26:17 +0000 Subject: [PATCH] Fix extensions tabs following deprecation of old tab code --- CRM/Admin/Page/Extensions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/Admin/Page/Extensions.php b/CRM/Admin/Page/Extensions.php index 46d16e938f09..79b41002246f 100644 --- a/CRM/Admin/Page/Extensions.php +++ b/CRM/Admin/Page/Extensions.php @@ -132,6 +132,12 @@ public function browse() { $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], + ]); } /**