diff options
| author | tamaina <tamaina@hotmail.co.jp> | 2019-04-16 13:05:10 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2019-04-16 13:05:10 +0900 |
| commit | f966d0b32c9cd45b531a4d76f01bf008e5136bd0 (patch) | |
| tree | 295f1971d10a94ae8e7a5230d94276e78be8afcd /src/client/app/common/views/widgets | |
| parent | Fix: admin/driveのアイコンがずれてる (#4710) (diff) | |
| download | misskey-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.vue | 5 |
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(() => { |