Commit ce066ba6 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'autocomplete-on-load' into 'master'

Load autocomplete data when loading an issue page



See merge request !2312
parents e9f84c4c cb22e5f9
...@@ -68,7 +68,6 @@ GitLab.GfmAutoComplete = ...@@ -68,7 +68,6 @@ GitLab.GfmAutoComplete =
title: sanitize(m.title) title: sanitize(m.title)
search: "#{m.iid} #{m.title}" search: "#{m.iid} #{m.title}"
input.one 'focus', =>
$.getJSON(@dataSource).done (data) -> $.getJSON(@dataSource).done (data) ->
# load members # load members
input.atwho 'load', '@', data.members input.atwho 'load', '@', data.members
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment