diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-11-06 11:42:11 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-11-06 11:42:11 +0000 |
commit | 8ba8800660323c516117f040d785ff1e0abac687 (patch) | |
tree | 2ed269ad0d2d6d76706fa93dbc78618d5a0636fa /app | |
parent | 46dc343f605f0c98d2b9ec44617d313a1548b4e2 (diff) | |
download | gitlab-ce-8ba8800660323c516117f040d785ff1e0abac687.tar.gz |
Disable issue action button whilst submitting and testdisable-issue-action-button-if-isSubmitting
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/notes/components/issue_comment_form.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes/components/issue_comment_form.vue b/app/assets/javascripts/notes/components/issue_comment_form.vue index db8f85759b2..30e02554b65 100644 --- a/app/assets/javascripts/notes/components/issue_comment_form.vue +++ b/app/assets/javascripts/notes/components/issue_comment_form.vue @@ -357,7 +357,8 @@ @click="handleSave(true)" v-if="canUpdateIssue" :class="actionButtonClassNames" - class="btn btn-comment btn-comment-and-close"> + :disabled="isSubmitting" + class="btn btn-comment btn-comment-and-close js-action-button"> {{issueActionButtonTitle}} </button> <button |