From 7daece3da74bff73bf39f6e2d1fde98edd7105a9 Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Mon, 7 Dec 2020 14:19:37 -0500 Subject: [PATCH] fix broken tabs --- CRM/UF/Page/Group.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CRM/UF/Page/Group.php b/CRM/UF/Page/Group.php index f2d5a43431..07e3daf601 100644 --- a/CRM/UF/Page/Group.php +++ b/CRM/UF/Page/Group.php @@ -361,6 +361,12 @@ class CRM_UF_Page_Group extends CRM_Core_Page { } $this->assign('rows', $ufGroup); + + Civi::resources() + ->addScriptFile('civicrm', 'templates/CRM/common/TabHeader.js', 1, 'html-header') + ->addSetting([ + 'tabSettings' => ['active' => $_GET['selectedChild'] ?? NULL], + ]); } /** -- 2.25.1