Fix multiple trigger on button attachment

This commit is contained in:
Dmitriy Zaporozhets 2013-07-10 19:29:54 +03:00
parent 7ab2130cab
commit 4da48868e5

View file

@ -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");