summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejandroluis24@gmail.com>2016-04-05 21:40:40 -0300
committerAlejandro Rodríguez <alejandroluis24@gmail.com>2016-04-20 22:12:43 -0300
commit4596190a2d1eb6d575b52ff889a20c49fbd8ca2e (patch)
tree19533766de5295a4aeea0f60f63216e3399b9f26 /app/assets
parent0ba116a58ed57d760b264c39f241798528f54b0e (diff)
downloadgitlab-ce-4596190a2d1eb6d575b52ff889a20c49fbd8ca2e.tar.gz
Inserting Milestone titles insted of IIDs with GFM auto complete
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/gfm_auto_complete.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gfm_auto_complete.js.coffee b/app/assets/javascripts/gfm_auto_complete.js.coffee
index 54d89ef69a1..0f2c5a6241c 100644
--- a/app/assets/javascripts/gfm_auto_complete.js.coffee
+++ b/app/assets/javascripts/gfm_auto_complete.js.coffee
@@ -90,7 +90,7 @@ GitLab.GfmAutoComplete =
alias: 'milestones'
searchKey: 'search'
displayTpl: @Milestones.template
- insertTpl: '${atwho-at}${id}'
+ insertTpl: '${atwho-at}${title}'
callbacks:
beforeSave: (milestones) ->
$.map milestones, (m) ->