Commit 4596190a authored by Alejandro Rodríguez's avatar Alejandro Rodríguez

Inserting Milestone titles insted of IIDs with GFM auto complete

parent 0ba116a5
...@@ -90,7 +90,7 @@ GitLab.GfmAutoComplete = ...@@ -90,7 +90,7 @@ GitLab.GfmAutoComplete =
alias: 'milestones' alias: 'milestones'
searchKey: 'search' searchKey: 'search'
displayTpl: @Milestones.template displayTpl: @Milestones.template
insertTpl: '${atwho-at}${id}' insertTpl: '${atwho-at}${title}'
callbacks: callbacks:
beforeSave: (milestones) -> beforeSave: (milestones) ->
$.map milestones, (m) -> $.map milestones, (m) ->
......
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