Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b47dc9e2
Commit
b47dc9e2
authored
Jan 25, 2017
by
webchick
Browse files
Issue
#2843901
by tedbow, drpal: Settings tray should use toolbar models to close the toolbar items
parent
cdb2ecd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/outside_in/js/outside_in.js
View file @
b47dc9e2
...
...
@@ -100,11 +100,7 @@
* Close any active toolbar tray before entering edit mode.
*/
function
closeToolbarTrays
()
{
$
(
'
#toolbar-bar
'
)
.
find
(
'
.toolbar-tab
'
)
.
not
(
'
.contextual-toolbar-tab
'
)
.
has
(
'
.toolbar-tray.is-active
'
)
.
find
(
'
.toolbar-item
'
).
trigger
(
'
click
'
);
$
(
Drupal
.
toolbar
.
models
.
toolbarModel
.
get
(
'
activeTab
'
)).
trigger
(
'
click
'
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment