From 3dd3d06b1925c9c4cbfc0e9a3cb3205af17e3e9f Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 13 Mar 2017 14:56:53 +0900 Subject: [Client] :v: --- src/web/app/common/tags/uploader.tag | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/web/app/common') diff --git a/src/web/app/common/tags/uploader.tag b/src/web/app/common/tags/uploader.tag index d40ac0a6a0..845cd9d127 100644 --- a/src/web/app/common/tags/uploader.tag +++ b/src/web/app/common/tags/uploader.tag @@ -145,6 +145,8 @@ this.uploads = []; this.upload = (file, folder) => { + if (folder && typeof folder == 'object') folder = folder.id; + const id = Math.random(); const ctx = { -- cgit v1.2.3-freya