diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-22 15:31:18 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-03-22 18:09:30 +0100 |
commit | 24ecf3f4c91b93306dceb43577989ee137846844 (patch) | |
tree | b0986e541ecfb9378087e6f19d6ff948a795963f /apps/files/js/fileactions.js | |
parent | 8c6b6b1f0d061272133ba5d2d44b055a12580d5b (diff) | |
download | nextcloud-server-24ecf3f4c91b93306dceb43577989ee137846844.tar.gz nextcloud-server-24ecf3f4c91b93306dceb43577989ee137846844.zip |
Fixed files copy/move when in favorites or recent section
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/js/fileactions.js')
-rw-r--r-- | apps/files/js/fileactions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index a6d376aa2a9..4c0ccaf6451 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -644,10 +644,10 @@ } OC.dialogs.filepicker(t('files', 'Target folder'), function(targetPath, type) { if (type === OC.dialogs.FILEPICKER_TYPE_COPY) { - context.fileList.copy(filename, targetPath); + context.fileList.copy(filename, targetPath, false, context.dir); } if (type === OC.dialogs.FILEPICKER_TYPE_MOVE) { - context.fileList.move(filename, targetPath); + context.fileList.move(filename, targetPath, false, context.dir); } }, false, "httpd/unix-directory", true, actions); } |