Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: ui/file_manager/gallery/js/gallery.js

Issue 2699583002: Hide read-only volumes in "Save As" dialogs. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/gallery/js/gallery.js
diff --git a/ui/file_manager/gallery/js/gallery.js b/ui/file_manager/gallery/js/gallery.js
index 79cae82a7e9e5005d5cdd7197ff033f1f57fe77e..4f986de4285e4f9b50cbd272b062438d3899c8ff 100644
--- a/ui/file_manager/gallery/js/gallery.js
+++ b/ui/file_manager/gallery/js/gallery.js
@@ -1064,7 +1064,7 @@ var loadTimeDataPromise = new Promise(function(fulfill, reject) {
* @type {!Promise}
*/
var volumeManagerPromise = new Promise(function(fulfill, reject) {
- var volumeManager = new VolumeManagerWrapper(AllowedPaths.ANY_PATH);
+ var volumeManager = new VolumeManagerWrapper(AllowedPaths.ANY_PATH, false);
volumeManager.ensureInitialized(fulfill.bind(null, volumeManager));
});
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/volume_manager_wrapper.js ('k') | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698