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

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

Issue 476913003: Modify DeviceHandler to handle deviceFail event and add a message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git branch Created 6 years, 4 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/file_manager/background/js/background.js
diff --git a/ui/file_manager/file_manager/background/js/background.js b/ui/file_manager/file_manager/background/js/background.js
index 94f7fa25b183d42d0f8f82502d6d187f130035cd..a83769916e953b5c5802a3a6850e35a6a4fb8359 100644
--- a/ui/file_manager/file_manager/background/js/background.js
+++ b/ui/file_manager/file_manager/background/js/background.js
@@ -237,7 +237,7 @@ Background.prototype.navigateToVolume = function(volumeId) {
launchFileManager(
{currentDirectoryURL: entry.toURL()},
/* App ID */ null,
- LaunchType.FOCUS_ANY_OR_CREATE);
+ LaunchType.FOCUS_SAME_OR_CREATE);
}).catch(function(error) {
console.error(error.stack || error);
});

Powered by Google App Engine
This is Rietveld 408576698