summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/shared
diff options
context:
space:
mode:
authorKushal Pandya <kushal@gitlab.com>2018-06-21 17:24:17 +0530
committerKushal Pandya <kushal@gitlab.com>2018-06-25 18:30:45 +0530
commit3366f9d8f507d95592244567421c21b47147adfc (patch)
tree6571b20c574cba822007d5e415d30627269f0334 /app/assets/javascripts/shared
parentb13eef1d6741f317503f25ef22ed2e44b2fe7824 (diff)
downloadgitlab-ce-3366f9d8f507d95592244567421c21b47147adfc.tar.gz
Update GFM autocomplete configkp-make-gfm-autocomplete-configurable
Diffstat (limited to 'app/assets/javascripts/shared')
-rw-r--r--app/assets/javascripts/shared/milestones/form.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/app/assets/javascripts/shared/milestones/form.js b/app/assets/javascripts/shared/milestones/form.js
index 2f974d6ff9d..060f374310c 100644
--- a/app/assets/javascripts/shared/milestones/form.js
+++ b/app/assets/javascripts/shared/milestones/form.js
@@ -6,5 +6,13 @@ import GLForm from '../../gl_form';
export default (initGFM = true) => {
new ZenMode(); // eslint-disable-line no-new
new DueDateSelectors(); // eslint-disable-line no-new
- new GLForm($('.milestone-form'), initGFM); // eslint-disable-line no-new
+ // eslint-disable-next-line no-new
+ new GLForm($('.milestone-form'), {
+ emojis: initGFM,
+ members: initGFM,
+ issues: initGFM,
+ mergeRequests: initGFM,
+ milestones: initGFM,
+ labels: initGFM,
+ });
};