Skip to content
Snippets Groups Projects
Commit b1c2baf0 authored by Valery Sizov's avatar Valery Sizov
Browse files

Fix search in Files

parent 94dc0224
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -31,6 +31,7 @@ v 8.1.0 (unreleased)
- Hide password in the service settings form
- Fix anchors to comments in diffs
- Move CI web hooks page to project settings area
- Fix search in Files
 
v 8.0.3
- Fix URL shown in Slack notifications
Loading
Loading
Loading
Loading
@@ -16,6 +16,9 @@ class @TreeView
li = $("tr.tree-item")
liSelected = null
$('body').keydown (e) ->
if $("input:focus").length > 0 && (e.which == 38 || e.which == 40)
return false
if e.which is 40
if liSelected
next = liSelected.next()
Loading
Loading
@@ -38,4 +41,4 @@ class @TreeView
$(liSelected).focus()
else if e.which is 13
path = $('.tree-item.selected .tree-item-file-name a').attr('href')
Turbolinks.visit(path)
if path then Turbolinks.visit(path)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment