summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2019-01-30 19:22:54 +0100
committerFatih Acet <acetfatih@gmail.com>2019-01-30 23:18:22 +0100
commit69b87a979de147b0940e01224482e6b64099a563 (patch)
tree51423a9c99ebda085d76345325ac9b5fef972111 /app/assets/javascripts/issue_show
parent42f6be1bc16ea661f74e26949cfe74078ec0c00a (diff)
downloadgitlab-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.vue2
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 }),
);