diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-06-12 13:42:31 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-06-13 08:54:44 -0500 |
commit | 1d93e262dd1af6f85f96ab4ccf3e484932520604 (patch) | |
tree | 8ff5dca0bcd8ed0da13d2757d778adcffcb369fe | |
parent | 4124a1fba173622c0fa04dc50750ec7f542244bf (diff) | |
download | gitlab-ce-33529-fix-autocomplete-atwho-not-showing-on-note-edit-form.tar.gz |
Fix autocomplete not working on note edit form33529-fix-autocomplete-atwho-not-showing-on-note-edit-form
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33529
Bug introduced in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11278
-rw-r--r-- | app/assets/javascripts/notes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index b0143b12cfe..978be3b20c1 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -1060,7 +1060,7 @@ const normalizeNewlines = function(str) { var targetId = $originalContentEl.data('target-id'); var targetType = $originalContentEl.data('target-type'); - new gl.GLForm($editForm.find('form')); + new gl.GLForm($editForm.find('form'), this.enableGFM); $editForm.find('form') .attr('action', postUrl) |