From c6085f7c21fec5e0e794fcb86716460c7b26c527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Wed, 22 Feb 2017 19:26:44 +0900 Subject: [PATCH 1/2] Update post-form.tag --- src/web/app/mobile/tags/post-form.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/mobile/tags/post-form.tag b/src/web/app/mobile/tags/post-form.tag index 353db0154..a3208efe3 100644 --- a/src/web/app/mobile/tags/post-form.tag +++ b/src/web/app/mobile/tags/post-form.tag @@ -268,7 +268,7 @@ this.api('posts/create', { text: this.refs.text.value, media_ids: files, - reply_to_id: this.inReplyToPost ? this.inReplyToPost.id : undefined, + reply_to_id: opts.reply ? opts.reply.id : undefined, poll: this.poll ? this.refs.poll.get() : undefined }).then(data => { this.trigger('post'); From 2c78f49704173246ff4536de0030dfc17e306535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Wed, 22 Feb 2017 19:29:29 +0900 Subject: [PATCH 2/2] Update uploader.tag --- src/web/app/common/tags/uploader.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/common/tags/uploader.tag b/src/web/app/common/tags/uploader.tag index 51520d9ab..d40ac0a6a 100644 --- a/src/web/app/common/tags/uploader.tag +++ b/src/web/app/common/tags/uploader.tag @@ -171,7 +171,7 @@ if (folder) data.append('folder_id', folder); const xhr = new XMLHttpRequest(); - xhr.open('POST', CONFIG.apiUrl + '/drive/files/create', true); + xhr.open('POST', this.CONFIG.apiUrl + '/drive/files/create', true); xhr.onload = e => { const driveFile = JSON.parse(e.target.response);