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

Load autocomplete data when loading an issue page



See merge request !2312
This commit is contained in:
Dmitriy Zaporozhets 2016-01-11 09:42:37 +00:00
commit ce066ba630

View file

@ -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