| Index: chrome/browser/resources/file_manager/js/file_transfer_controller.js
|
| diff --git a/chrome/browser/resources/file_manager/js/file_transfer_controller.js b/chrome/browser/resources/file_manager/js/file_transfer_controller.js
|
| index 0848fee7d019ca2384dac15df80bdc22660ae2c6..e0e739a7e9b388e5b05285492d00e3840a0acb35 100644
|
| --- a/chrome/browser/resources/file_manager/js/file_transfer_controller.js
|
| +++ b/chrome/browser/resources/file_manager/js/file_transfer_controller.js
|
| @@ -400,6 +400,8 @@ FileTransferController.prototype = {
|
| if (this.directoryModel_.isPathReadOnly(destinationPath)) {
|
| return false;
|
| }
|
| + if (this.directoryModel_.isSearching())
|
| + return false;
|
|
|
| if (!dataTransfer.types || dataTransfer.types.indexOf('fs/tag') == -1)
|
| return false; // Unsupported type of content.
|
| @@ -481,7 +483,7 @@ FileTransferController.prototype = {
|
| },
|
|
|
| get currentDirectory() {
|
| - return this.directoryModel_.getCurrentDirEntry();
|
| + return this.directoryModel_.getSearchOrCurrentDirEntry();
|
| },
|
|
|
| get readonly() {
|
|
|