diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-04 11:30:07 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-10-04 11:30:07 +0300 |
commit | 12d275adce0cf1951a9fd0f362cee5178d865af8 (patch) | |
tree | 8c0ae291f4dde263fc9612d77b5c6e9e57f55726 /app/assets | |
parent | be6344d9051f9712c7643b0b70a5deffafcd2855 (diff) | |
parent | cba95d9e323228647f9d99b8ebd74b015ee28124 (diff) |
Merge branch 'acet-disabled-comment-textarea-while-requesting' into 'master'
Disable comment textarea while submitting a new comment.
Closes #37858
See merge request gitlab-org/gitlab-ce!14541
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/notes/components/issue_comment_form.vue | 1 |
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()"> |