| Index: ui/file_manager/file_manager/foreground/js/file_manager.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| index f779b039a62ecd9bd3ec93e476c0bafe9ed6db04..281f37b1b31f1766795ff0040c842c8f52ad8584 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| @@ -806,6 +806,9 @@ FileManager.prototype = /** @struct */ {
|
| }
|
| }
|
|
|
| + var writableOnly =
|
| + this.launchParams_.type === DialogType.SELECT_SAVEAS_FILE;
|
| +
|
| // VolumeManagerWrapper hides virtual file system related event and data
|
| // even depends on the value of |supportVirtualPath|. If it is
|
| // VirtualPathSupport.NO_VIRTUAL_PATH, it hides Drive even if Drive is
|
| @@ -816,7 +819,7 @@ FileManager.prototype = /** @struct */ {
|
| // Note that the Drive enabling preference change is listened by
|
| // DriveIntegrationService, so here we don't need to take care about it.
|
| this.volumeManager_ = new VolumeManagerWrapper(
|
| - allowedPaths, this.backgroundPage_);
|
| + allowedPaths, writableOnly, this.backgroundPage_);
|
| };
|
|
|
| /**
|
|
|