diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-06-12 13:42:31 -0500 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-06-14 11:55:34 -0500 |
commit | 4182e3fa635a0d83d101d27da39d9efae3d5b1c7 (patch) | |
tree | 33089bf580f9baff44d6a9910032ef25d37046f1 /app/assets/javascripts/notes.js | |
parent | 64e85fdaffcd03ef52ff74953b1a4e0caf5a23e8 (diff) | |
download | gitlab-ce-4182e3fa635a0d83d101d27da39d9efae3d5b1c7.tar.gz |
Fix autocomplete not working 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
Diffstat (limited to 'app/assets/javascripts/notes.js')
-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) |