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
1a86a00c
Commit
1a86a00c
authored
Oct 05, 2015
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix search in Files
parent
10d7c367
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG
CHANGELOG
+1
-0
app/assets/javascripts/tree.js.coffee
app/assets/javascripts/tree.js.coffee
+4
-1
No files found.
CHANGELOG
View file @
1a86a00c
...
@@ -38,6 +38,7 @@ v 8.0.4
...
@@ -38,6 +38,7 @@ v 8.0.4
- Fix anchors to comments in diffs
- Fix anchors to comments in diffs
- Remove CI token from build traces
- Remove CI token from build traces
- Fix "Assign All" button on Runner admin page
- Fix "Assign All" button on Runner admin page
- Fix search in Files
v 8.0.3
v 8.0.3
- Fix URL shown in Slack notifications
- Fix URL shown in Slack notifications
...
...
app/assets/javascripts/tree.js.coffee
View file @
1a86a00c
...
@@ -16,6 +16,9 @@ class @TreeView
...
@@ -16,6 +16,9 @@ class @TreeView
li
=
$
(
"tr.tree-item"
)
li
=
$
(
"tr.tree-item"
)
liSelected
=
null
liSelected
=
null
$
(
'body'
).
keydown
(
e
)
->
$
(
'body'
).
keydown
(
e
)
->
if
$
(
"input:focus"
).
length
>
0
&&
(
e
.
which
==
38
||
e
.
which
==
40
)
return
false
if
e
.
which
is
40
if
e
.
which
is
40
if
liSelected
if
liSelected
next
=
liSelected
.
next
()
next
=
liSelected
.
next
()
...
@@ -38,4 +41,4 @@ class @TreeView
...
@@ -38,4 +41,4 @@ class @TreeView
$
(
liSelected
).
focus
()
$
(
liSelected
).
focus
()
else
if
e
.
which
is
13
else
if
e
.
which
is
13
path
=
$
(
'.tree-item.selected .tree-item-file-name a'
).
attr
(
'href'
)
path
=
$
(
'.tree-item.selected .tree-item-file-name a'
).
attr
(
'href'
)
Turbolinks
.
visit
(
path
)
if
path
then
Turbolinks
.
visit
(
path
)
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