diff options
author | Alejandro RodrÃguez <alejandroluis24@gmail.com> | 2016-04-06 20:35:02 -0300 |
---|---|---|
committer | Alejandro RodrÃguez <alejandroluis24@gmail.com> | 2016-04-20 22:12:43 -0300 |
commit | 0f925714d04a4d2e86db3a752fc8c1fc45da2214 (patch) | |
tree | 04b4e44ff32f6e966905ae2117f52c12fef3a3b2 /app | |
parent | ec71edfeddc403df5dcff1300e3f4868554c5f61 (diff) | |
download | gitlab-ce-0f925714d04a4d2e86db3a752fc8c1fc45da2214.tar.gz |
Inserting the Milestone title between quotes on GFM auto complete
This is due to the fact that for multiple word titles it might be
an invalid reference without the quotes
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/gfm_auto_complete.js.coffee | 2 |
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 0f2c5a6241c..41dba342107 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}${title}' + insertTpl: '${atwho-at}"${title}"' callbacks: beforeSave: (milestones) -> $.map milestones, (m) -> |