Commit 4da48868 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix multiple trigger on button attachment

parent 7ab2130c
...@@ -23,6 +23,12 @@ var NoteList = { ...@@ -23,6 +23,12 @@ var NoteList = {
$(document).off("click", ".js-note-attachment-input"); $(document).off("click", ".js-note-attachment-input");
$(document).off("click", ".js-close-discussion-note-form"); $(document).off("click", ".js-close-discussion-note-form");
$(document).off("click", ".js-note-delete"); $(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"); $(document).off("ajax:complete", ".js-main-target-form");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment