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
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2018-09-14 16:33:24 +0300
committerAndré Luís <aluis@gitlab.com>2018-09-21 13:40:57 +0300
commit2036458e150db2840dbb1219f1cb5e079b648deb (patch)
tree90cafa462616f8439f7e8d7957571d2485fcd59e /app/assets/javascripts
parenta293640404cbe7fc7ff60a04f77113ddcf990c6a (diff)
Return discussion object from NotesController#create when return_discussion param is set
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/diffs/store/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/diffs/store/utils.js b/app/assets/javascripts/diffs/store/utils.js
index 834a94ea42a..8bae0461508 100644
--- a/app/assets/javascripts/diffs/store/utils.js
+++ b/app/assets/javascripts/diffs/store/utils.js
@@ -55,6 +55,7 @@ export function getNoteFormData(params) {
note_project_id: '',
target_type: noteableData.targetType,
target_id: noteableData.id,
+ return_discussion: 'true',
note: {
note,
position,