mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-24 12:06:11 +10:00
Fix multiple trigger on button attachment
This commit is contained in:
@@ -23,6 +23,12 @@ var NoteList = {
|
||||
$(document).off("click", ".js-note-attachment-input");
|
||||
$(document).off("click", ".js-close-discussion-note-form");
|
||||
$(document).off("click", ".js-note-delete");
|
||||
$(document).off("click", ".js-note-edit");
|
||||
$(document).off("click", ".js-note-edit-cancel");
|
||||
$(document).off("click", ".js-note-attachment-delete");
|
||||
$(document).off("click", ".js-choose-note-attachment-button");
|
||||
$(document).off("click", ".js-show-outdated-discussion");
|
||||
|
||||
$(document).off("ajax:complete", ".js-main-target-form");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user