summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-09-27 23:54:23 +0300
committerFatih Acet <acetfatih@gmail.com>2017-10-03 15:06:37 +0300
commit4d0dea7bc1f010b30eced569399f3873869b8871 (patch)
tree05095e7b645ade8f00a76f0a3b82bdade6fa6ea3
parent00460a9d64cea87fc5887731dc35f4750b8f356d (diff)
downloadgitlab-ce-4d0dea7bc1f010b30eced569399f3873869b8871.tar.gz
Disable comment textarea while submitting a new comment.
-rw-r--r--app/assets/javascripts/notes/components/issue_comment_form.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/components/issue_comment_form.vue b/app/assets/javascripts/notes/components/issue_comment_form.vue
index fa7ac994058..1a7da84a424 100644
--- a/app/assets/javascripts/notes/components/issue_comment_form.vue
+++ b/app/assets/javascripts/notes/components/issue_comment_form.vue
@@ -272,6 +272,7 @@
v-model="note"
ref="textarea"
slot="textarea"
+ :disabled="isSubmitting"
placeholder="Write a comment or drag your files here..."
@keydown.up="editCurrentUserLastNote()"
@keydown.meta.enter="handleSave()">