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

Unified Diff: chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js

Issue 144783002: Simplify directory initialization in Files app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 11 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: chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js
diff --git a/chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js b/chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js
index 3b9376932e89ec5f80ee4d61a70192dcf3a08f6c..97d82d6f3632c8bdc8e9c94e0dfcf7d02362bc51 100644
--- a/chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js
+++ b/chrome/browser/resources/file_manager/foreground/js/file_manager_commands.js
@@ -464,7 +464,7 @@ CommandHandler.COMMANDS_['new-window'] = {
execute: function(event, fileManager) {
// TODO(mtomasz): Use Entry.toURL() instead of fullPath.
fileManager.backgroundPage.launchFileManager({
- defaultPath: fileManager.getCurrentDirectoryEntry() &&
+ currentDirectoryPath: fileManager.getCurrentDirectoryEntry() &&
fileManager.getCurrentDirectoryEntry().fullPath
});
},

Powered by Google App Engine
This is Rietveld 408576698