From 1458dea9fe7530b716754ddeb89f032b43b97a1f Mon Sep 17 00:00:00 2001 From: Jack Weeden Date: Mon, 29 Jul 2013 14:16:36 +0100 Subject: [PATCH] Show autocomplete list when editing notes. --- app/assets/javascripts/notes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 5e1e4dc4113..5225623c1f0 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -227,10 +227,11 @@ var NoteList = { // Show the attachment delete link note.find(".js-note-attachment-delete").show(); + GitLab.GfmAutoComplete.setup(); + var form = note.find(".note-edit-form"); form.show(); - var textarea = form.find("textarea"); var p = $("

").text(textarea.val()); var hidden_div = $('
').append(p);