summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/widgets
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2019-04-16 13:05:10 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-04-16 13:05:10 +0900
commitf966d0b32c9cd45b531a4d76f01bf008e5136bd0 (patch)
tree295f1971d10a94ae8e7a5230d94276e78be8afcd /src/client/app/common/views/widgets
parentFix: admin/driveのアイコンがずれてる (#4710) (diff)
downloadmisskey-f966d0b32c9cd45b531a4d76f01bf008e5136bd0.tar.gz
misskey-f966d0b32c9cd45b531a4d76f01bf008e5136bd0.tar.bz2
misskey-f966d0b32c9cd45b531a4d76f01bf008e5136bd0.zip
色々な修正; Fix #4709 (#4714)
* Fix a la carte 1 * use dialog instead of alert() etc
Diffstat (limited to 'src/client/app/common/views/widgets')
-rw-r--r--src/client/app/common/views/widgets/post-form.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/app/common/views/widgets/post-form.vue b/src/client/app/common/views/widgets/post-form.vue
index b30168b879..120de0f17b 100644
--- a/src/client/app/common/views/widgets/post-form.vue
+++ b/src/client/app/common/views/widgets/post-form.vue
@@ -188,7 +188,10 @@ export default define({
}).then(data => {
this.clear();
}).catch(err => {
- alert('Something happened');
+ this.$root.dialog({
+ type: 'error',
+ text: this.$t('something-happened')
+ });
}).then(() => {
this.posting = false;
this.$nextTick(() => {