Show autocomplete list when editing notes.
This commit is contained in:
parent
b55e22e277
commit
1458dea9fe
1 changed files with 2 additions and 1 deletions
|
@ -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 = $("<p></p>").text(textarea.val());
|
||||
var hidden_div = $('<div class="note-original-content"></div>').append(p);
|
||||
|
|
Loading…
Reference in a new issue