Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo <beschi.jacopo@gmail.com>2017-11-20 10:49:13 +0300
committerJacopo <beschi.jacopo@gmail.com>2017-11-20 11:04:27 +0300
commit0b3e3692eb95a68897b4896d168e6763ac0a97b9 (patch)
tree5969d5554f843437fee95d7a109fd19877a6ead4 /app/helpers/search_helper.rb
parenta248bb769f40937e93e8050f3ababb9066115940 (diff)
Disables autocomplete in filtered search
Sets `autocomplete=off` to issuable filtered serarch.
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r--app/helpers/search_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index cf28a917fd1..2f57660516d 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -140,7 +140,8 @@ module SearchHelper
placeholder: 'Search or filter results...',
data: {
'username-params' => @users.to_json(only: [:id, :username])
- }
+ },
+ autocomplete: 'off'
}
if @project.present?