| 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 49f61532f21a64229b7a6a4b665d54eb07be0698..45251ceed92a272710b3b2cfc5889ad05c297950 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/file_manager.js
|
| @@ -815,6 +815,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
|
| @@ -825,7 +828,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_);
|
| };
|
|
|
| /**
|
|
|