Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-05-26 16:57:00 +0300
committerPhil Hughes <me@iamphill.com>2016-05-26 16:57:35 +0300
commitd7bd7a3e7ef2e64f50d5404fe3d90f0c1ff57705 (patch)
treeee9882c1bdca50701c97f43659ffcb5f27f9a35d /app
parentadc64e4583dc42399f681a9b17490f98b8c4bec0 (diff)
Fixed JS error when trying to remove discussion form
Closes #17778
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/notes.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js.coffee b/app/assets/javascripts/notes.js.coffee
index 6d9d6528f45..8131d923677 100644
--- a/app/assets/javascripts/notes.js.coffee
+++ b/app/assets/javascripts/notes.js.coffee
@@ -329,7 +329,7 @@ class @Notes
@renderDiscussionNote(note)
# cleanup after successfully creating a diff/discussion note
- @removeDiscussionNoteForm($("#new-discussion-note-form-#{note.discussion_id}"))
+ @removeDiscussionNoteForm($(xhr.target))
###
Called in response to the edit note form being submitted