Commit 6c361925 authored by Phil Hughes's avatar Phil Hughes
Browse files

Merge branch '8535-add-mr-comment-on-ctrl-enter' into 'master'

Resolve "Ctrl+Enter immediately adds MR comment"

See merge request gitlab-org/gitlab-ce!24053
......@@ -149,6 +149,9 @@ export default {
return shouldResolve || shouldToggleState;
handleKeySubmit() {
handleUpdate(shouldResolve) {
const beforeSubmitDiscussionState = this.discussionResolved;
this.isSubmitting = true;
......@@ -216,8 +219,8 @@ export default {
class="note-textarea js-gfm-input js-note-text js-autosize markdown-area js-vue-issue-note-form js-vue-textarea qa-reply-input"
placeholder="Write a comment or drag your files here…"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment