Merge branch 'autocomplete-on-load' into 'master'
Load autocomplete data when loading an issue page See merge request !2312
This commit is contained in:
commit
ce066ba630
1 changed files with 12 additions and 13 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue