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:
41dd680
)
menubar: hide toggleButton when using Standalone
author
Mathieu Lutfy
<mathieu@symbiotic.coop>
Tue, 11 Jul 2023 20:34:30 +0000
(16:34 -0400)
committer
Mathieu Lu
<mathieu@symbiotic.coop>
Tue, 11 Jul 2023 20:35:43 +0000
(16:35 -0400)
js/crm.menubar.js
patch
|
blob
|
blame
|
history
diff --git
a/js/crm.menubar.js
b/js/crm.menubar.js
index f6d1bb9cba1f252533aa9ae061287c33f0929b9e..65fe533bf3a12628c1eccf47b91578b60e46e011 100644
(file)
--- a/
js/crm.menubar.js
+++ b/
js/crm.menubar.js
@@
-8,7
+8,7
@@
data: null,
settings: {collapsibleBehavior: 'accordion'},
position: 'over-cms-menu',
- toggleButton:
true
,
+ toggleButton:
(CRM.config.userFramework != 'Standalone')
,
attachTo: (CRM.menubar && CRM.menubar.position === 'above-crm-container') ? '#crm-container' : 'body',
initialize: function() {
var cache = CRM.cache.get('menubar');