Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b80a8784
Commit
b80a8784
authored
Aug 15, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
14065e89
bd5c259a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/behaviors/shortcuts/shortcuts.js
app/assets/javascripts/behaviors/shortcuts/shortcuts.js
+2
-2
No files found.
app/assets/javascripts/behaviors/shortcuts/shortcuts.js
View file @
b80a8784
...
@@ -4,7 +4,7 @@ import Mousetrap from 'mousetrap';
...
@@ -4,7 +4,7 @@ import Mousetrap from 'mousetrap';
import
axios
from
'
../../lib/utils/axios_utils
'
;
import
axios
from
'
../../lib/utils/axios_utils
'
;
import
{
refreshCurrentPage
,
visitUrl
}
from
'
../../lib/utils/url_utility
'
;
import
{
refreshCurrentPage
,
visitUrl
}
from
'
../../lib/utils/url_utility
'
;
import
findAndFollowLink
from
'
../../lib/utils/navigation_utility
'
;
import
findAndFollowLink
from
'
../../lib/utils/navigation_utility
'
;
import
{
parseBoolean
}
from
'
~/lib/utils/common_utils
'
;
import
{
parseBoolean
,
getCspNonceValue
}
from
'
~/lib/utils/common_utils
'
;
const
defaultStopCallback
=
Mousetrap
.
stopCallback
;
const
defaultStopCallback
=
Mousetrap
.
stopCallback
;
Mousetrap
.
stopCallback
=
(
e
,
element
,
combo
)
=>
{
Mousetrap
.
stopCallback
=
(
e
,
element
,
combo
)
=>
{
...
@@ -94,7 +94,7 @@ export default class Shortcuts {
...
@@ -94,7 +94,7 @@ export default class Shortcuts {
responseType
:
'
text
'
,
responseType
:
'
text
'
,
})
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
$
.
globalEval
(
data
);
$
.
globalEval
(
data
,
{
nonce
:
getCspNonceValue
()
}
);
if
(
location
&&
location
.
length
>
0
)
{
if
(
location
&&
location
.
length
>
0
)
{
const
results
=
[];
const
results
=
[];
...
...
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