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

Unified Diff: ui/file_manager/file_manager/foreground/js/main_window_component.js

Issue 1252503008: Files.app: Focus the active file list when toggle-view button is clicked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/ui/list_container.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/main_window_component.js
diff --git a/ui/file_manager/file_manager/foreground/js/main_window_component.js b/ui/file_manager/file_manager/foreground/js/main_window_component.js
index aa88065ac1920190868aa5f523c8794d7945a9c5..8141ec024949ef340f2547a04f69b9cf9dd271db 100644
--- a/ui/file_manager/file_manager/foreground/js/main_window_component.js
+++ b/ui/file_manager/file_manager/foreground/js/main_window_component.js
@@ -206,7 +206,7 @@ MainWindowComponent.prototype.onToggleViewButtonClick_ = function(event) {
this.ui_.setCurrentListType(listType);
this.appStateController_.saveViewOptions();
- this.ui_.toggleViewButton.blur();
+ this.ui_.listContainer.focus();
};
/**
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/ui/list_container.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698