| Index: chrome/browser/resources/file_manager/foreground/js/file_transfer_controller.js
|
| diff --git a/chrome/browser/resources/file_manager/foreground/js/file_transfer_controller.js b/chrome/browser/resources/file_manager/foreground/js/file_transfer_controller.js
|
| index f5ecbe4bbd6358c3b5b6631a813bd4997e3053c8..7a19b1722bf2fe93d2b4071886981d6797a2995f 100644
|
| --- a/chrome/browser/resources/file_manager/foreground/js/file_transfer_controller.js
|
| +++ b/chrome/browser/resources/file_manager/foreground/js/file_transfer_controller.js
|
| @@ -159,7 +159,8 @@ FileTransferController.prototype = {
|
| this.currentDirectoryContentEntry);
|
| // Tag to check it's filemanager data.
|
| dataTransfer.setData('fs/tag', 'filemanager-data');
|
| - dataTransfer.setData('fs/sourceRootURL', volumeInfo.root.toURL());
|
| + dataTransfer.setData('fs/sourceRootURL',
|
| + volumeInfo.fileSystem.root.toURL());
|
| var sourceURLs = util.entriesToURLs(this.selectedEntries_);
|
| dataTransfer.setData('fs/sources', sourceURLs.join('\n'));
|
| dataTransfer.effectAllowed = effectAllowed;
|
| @@ -743,7 +744,7 @@ FileTransferController.prototype = {
|
|
|
| // Copying between different sources requires all files to be available.
|
| if (this.getSourceRootURL_(dataTransfer) !==
|
| - destinationLocationInfo.volumeInfo.root.toURL() &&
|
| + destinationLocationInfo.volumeInfo.fileSystem.root.toURL() &&
|
| this.isMissingFileContents_(dataTransfer))
|
| return false;
|
|
|
| @@ -930,7 +931,7 @@ FileTransferController.prototype = {
|
| // volumeId gets unique.
|
| if (event.dataTransfer.effectAllowed === 'copyMove' &&
|
| this.getSourceRootURL_(event.dataTransfer) ===
|
| - destinationLocationInfo.volumeInfo.root.toURL() &&
|
| + destinationLocationInfo.volumeInfo.fileSystem.root.toURL() &&
|
| !event.ctrlKey) {
|
| return 'move';
|
| }
|
|
|