diff options
author | Fatih Acet <acetfatih@gmail.com> | 2019-01-30 19:22:54 +0100 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2019-01-30 23:18:22 +0100 |
commit | 69b87a979de147b0940e01224482e6b64099a563 (patch) | |
tree | 51423a9c99ebda085d76345325ac9b5fef972111 /app/assets/javascripts/issue_show | |
parent | 42f6be1bc16ea661f74e26949cfe74078ec0c00a (diff) | |
download | gitlab-ce-69b87a979de147b0940e01224482e6b64099a563.tar.gz |
Stop closing issue edit form in error state
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r-- | app/assets/javascripts/issue_show/components/app.vue | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue index 8b3e8719247..0fba1b3bb46 100644 --- a/app/assets/javascripts/issue_show/components/app.vue +++ b/app/assets/javascripts/issue_show/components/app.vue @@ -270,7 +270,6 @@ export default { errMsg += `. ${response.data.errors.join(' ')}`; } - eventHub.$emit('close.form'); createFlash(errMsg); } }); @@ -295,7 +294,6 @@ export default { visitUrl(data.web_url); }) .catch(() => { - eventHub.$emit('close.form'); createFlash( sprintf(s__('Error deleting %{issuableType}'), { issuableType: this.issuableType }), ); |