diff options
author | Kushal Pandya <kushal@gitlab.com> | 2018-06-21 14:54:17 +0300 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2018-06-25 16:00:45 +0300 |
commit | 3366f9d8f507d95592244567421c21b47147adfc (patch) | |
tree | 6571b20c574cba822007d5e415d30627269f0334 /app/assets/javascripts/shared/milestones/form.js | |
parent | b13eef1d6741f317503f25ef22ed2e44b2fe7824 (diff) |
Update GFM autocomplete config
Diffstat (limited to 'app/assets/javascripts/shared/milestones/form.js')
-rw-r--r-- | app/assets/javascripts/shared/milestones/form.js | 10 |
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, + }); }; |