diff options
author | Vitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com> | 2017-11-28 14:51:03 +1100 |
---|---|---|
committer | Vitaliy @blackst0ne Klachkov <blackst0ne.ru@gmail.com> | 2017-11-28 14:51:03 +1100 |
commit | 68f0092c8f3f6f29d1cbdd4511aef84875519fbe (patch) | |
tree | 8b816ea63074a73d2478c2b98a23a516718b8254 /app/views | |
parent | d199ecd452a3bfdc8ba7b4a0ae244a282c047c9f (diff) | |
download | gitlab-ce-68f0092c8f3f6f29d1cbdd4511aef84875519fbe.tar.gz |
Limit autocomplete menu to applied labels
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/_init_auto_complete.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_init_auto_complete.html.haml b/app/views/layouts/_init_auto_complete.html.haml index fe0ec35d003..4276e6ee4bb 100644 --- a/app/views/layouts/_init_auto_complete.html.haml +++ b/app/views/layouts/_init_auto_complete.html.haml @@ -10,7 +10,7 @@ members: "#{members_project_autocomplete_sources_path(project, type: noteable_type, type_id: params[:id])}", issues: "#{issues_project_autocomplete_sources_path(project)}", mergeRequests: "#{merge_requests_project_autocomplete_sources_path(project)}", - labels: "#{labels_project_autocomplete_sources_path(project)}", + labels: "#{labels_project_autocomplete_sources_path(project, type: noteable_type, type_id: params[:id])}", milestones: "#{milestones_project_autocomplete_sources_path(project)}", commands: "#{commands_project_autocomplete_sources_path(project, type: noteable_type, type_id: params[:id])}" }; |