summaryrefslogtreecommitdiff
path: root/app/views/projects/find_file
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-01-19 21:39:48 -0500
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-01-19 21:39:48 -0500
commit70e59035c0803bbed29d69fe1c535a15f0249f53 (patch)
treee3133aa80729558780acaf0155bab2dbc9355860 /app/views/projects/find_file
parent4784695860dea75864c801c6223fb348c5ac7cd3 (diff)
downloadgitlab-ce-70e59035c0803bbed29d69fe1c535a15f0249f53.tar.gz
Fix project find url so branch ref is not nil
Also adds autocomplete="off" to find input.
Diffstat (limited to 'app/views/projects/find_file')
-rw-r--r--app/views/projects/find_file/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/find_file/show.html.haml b/app/views/projects/find_file/show.html.haml
index 40a2a61d8a1..905f6bbbd48 100644
--- a/app/views/projects/find_file/show.html.haml
+++ b/app/views/projects/find_file/show.html.haml
@@ -10,7 +10,7 @@
= link_to namespace_project_tree_path(@project.namespace, @project, @ref) do
= @project.path
%li.file-finder
- %input#file_find.form-control.file-finder-input{type: "text", placeholder: 'Find by path'}
+ %input#file_find.form-control.file-finder-input{type: "text", placeholder: 'Find by path', autocomplete: 'off'}
%div.tree-content-holder
.table-holder