From 2a0aa78d0c98aa2c7d71e17bebe4d48237f371db Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 19 Jun 2020 15:46:08 +0200 Subject: [PATCH] Fix folder download in drive --- www/common/drive-ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 184038d79..cd3759d8d 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -4182,7 +4182,8 @@ define([ if (!manager.isSharedFolder(el)) { name = path.path[path.path.length - 1]; folderEl = el; - downloadFolder(folderEl, name); + var sfId = manager.isInSharedFolder(path.path); + downloadFolder(folderEl, name, sfId); } // shared folder else {