Fix multiple trigger on button attachment
This commit is contained in:
parent
7ab2130cab
commit
4da48868e5
1 changed files with 6 additions and 0 deletions
|
@ -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");
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue