diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-10-20 13:28:30 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-10-20 13:28:30 +0100 |
commit | c44dff9984d4ee055a40b9c3354888193b3d5f57 (patch) | |
tree | 4de956126a1b23cba5af131d918b6c9d1db4fa98 /app | |
parent | 9c3f094a2f7609386ed182e4d5f6f9e7f6938388 (diff) | |
download | gitlab-ce-c44dff9984d4ee055a40b9c3354888193b3d5f57.tar.gz |
Remove page-specific GLForm init and add support_autocomplete: false local to groups/milestones/_form
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/dispatcher.js | 1 | ||||
-rw-r--r-- | app/views/groups/milestones/_form.html.haml | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js index 2885923aeda..eb576672d25 100644 --- a/app/assets/javascripts/dispatcher.js +++ b/app/assets/javascripts/dispatcher.js @@ -234,7 +234,6 @@ import DueDateSelectors from './due_date_select'; case 'groups:milestones:update': new ZenMode(); new DueDateSelectors(); - new GLForm($('.milestone-form'), true); break; case 'projects:compare:show': new gl.Diff(); diff --git a/app/views/groups/milestones/_form.html.haml b/app/views/groups/milestones/_form.html.haml index cc879e5a308..a1be0d3220a 100644 --- a/app/views/groups/milestones/_form.html.haml +++ b/app/views/groups/milestones/_form.html.haml @@ -11,7 +11,7 @@ = f.label :description, "Description", class: "control-label" .col-sm-10 = render layout: 'projects/md_preview', locals: { url: group_preview_markdown_path } do - = render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: 'Write milestone description...' + = render 'projects/zen', f: f, attr: :description, classes: 'note-textarea', placeholder: 'Write milestone description...', supports_autocomplete: false .clearfix .error-alert |