diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-10 20:29:54 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-10 20:29:54 +0400 |
commit | 4da48868e57fdf5bfd41b680f5452450807c23f5 (patch) | |
tree | 298969052f6206760eac95dcbab64fa15cd2ef62 /app/assets/javascripts/notes.js | |
parent | 7ab2130cabe0ba4a1190324b79cb18f87669ff08 (diff) |
Fix multiple trigger on button attachment
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 85d86f3f0bd..6dfe722a5e8 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -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"); |