projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9431cbf
)
Fix extensions tabs following deprecation of old tab code
author
Matthew Wire
<mjw@mjwconsult.co.uk>
Sat, 5 Dec 2020 15:26:17 +0000
(15:26 +0000)
committer
Matthew Wire
<mjw@mjwconsult.co.uk>
Sat, 5 Dec 2020 15:26:46 +0000
(15:26 +0000)
CRM/Admin/Page/Extensions.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Admin/Page/Extensions.php
b/CRM/Admin/Page/Extensions.php
index 46d16e938f092ee22d479631642eee85c3f0b9d8..79b41002246f7b81b5a4a56ee41ab3f0cf934781 100644
(file)
--- 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],
+ ]);
}
/**