Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
f547c93a
Commit
f547c93a
authored
Aug 07, 2017
by
Jesse White
Committed by
Torkel Ödegaard
Aug 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: hide modals when pressing Esc, fixes #8988 (#8994)
parent
c0b0a54a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
5 deletions
+1
-5
public/app/core/services/keybindingSrv.ts
+1
-5
No files found.
public/app/core/services/keybindingSrv.ts
View file @
f547c93a
...
@@ -214,12 +214,8 @@ export class KeybindingSrv {
...
@@ -214,12 +214,8 @@ export class KeybindingSrv {
if
(
popups
.
length
>
0
)
{
if
(
popups
.
length
>
0
)
{
return
;
return
;
}
}
// close modals
var
modalData
=
$
(
".modal"
).
data
();
if
(
modalData
&&
modalData
.
$scope
&&
modalData
.
$scope
.
dismiss
)
{
modalData
.
$scope
.
dismiss
();
}
scope
.
appEvent
(
'hide-modal'
);
scope
.
appEvent
(
'hide-dash-editor'
);
scope
.
appEvent
(
'hide-dash-editor'
);
scope
.
appEvent
(
'panel-change-view'
,
{
fullscreen
:
false
,
edit
:
false
});
scope
.
appEvent
(
'panel-change-view'
,
{
fullscreen
:
false
,
edit
:
false
});
});
});
...
...
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