summaryrefslogtreecommitdiff
path: root/app/views/shared/notes
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-07-28 16:53:10 +0000
committerDouwe Maan <douwe@gitlab.com>2017-07-28 16:53:10 +0000
commit8b68b69572cf2aa47ba497c119470131085f95f0 (patch)
tree6bb94a7a18f2e107be21dfb330b97b523bd1cf60 /app/views/shared/notes
parent7e83f244ca8c009ec79e14467bbb06c177ce1b8e (diff)
parent75d04f6a29a5506ffd53c227517411febdc54910 (diff)
downloadgitlab-ce-8b68b69572cf2aa47ba497c119470131085f95f0.tar.gz
Merge branch 'fix-replying-to-commit-comment-in-mr-from-fork' into 'master'
Fix replying to commit comments on merge requests created from forks Closes #31772 See merge request !13137
Diffstat (limited to 'app/views/shared/notes')
-rw-r--r--app/views/shared/notes/_form.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/shared/notes/_form.html.haml b/app/views/shared/notes/_form.html.haml
index c6b5dcc3647..725bf916592 100644
--- a/app/views/shared/notes/_form.html.haml
+++ b/app/views/shared/notes/_form.html.haml
@@ -10,6 +10,7 @@
= hidden_field_tag :line_type
= hidden_field_tag :merge_request_diff_head_sha, @note.noteable.try(:diff_head_sha)
= hidden_field_tag :in_reply_to_discussion_id
+ = hidden_field_tag :note_project_id
= note_target_fields(@note)
= f.hidden_field :noteable_type