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

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

Issue 10204015: Do not auto-select the first file on entering a folder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/js/file_manager.js
===================================================================
--- chrome/browser/resources/file_manager/js/file_manager.js (revision 133663)
+++ chrome/browser/resources/file_manager/js/file_manager.js (working copy)
@@ -742,9 +742,6 @@
this.directoryModel_.getFileListSelection().addEventListener(
'change', this.onSelectionChanged_.bind(this));
- this.directoryModel_.setAutoSelectIndex(
- this.dialogType_ == FileManager.DialogType.SELECT_SAVEAS_FILE ? -1 : 0);
-
this.initTable_();
this.initGrid_();
this.initRootsList_();

Powered by Google App Engine
This is Rietveld 408576698