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

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

Issue 10212005: Revert 133666 - 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
« no previous file with comments | « chrome/browser/resources/file_manager/js/directory_model.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/file_manager/js/file_manager.js
===================================================================
--- chrome/browser/resources/file_manager/js/file_manager.js (revision 133744)
+++ chrome/browser/resources/file_manager/js/file_manager.js (working copy)
@@ -743,6 +743,9 @@
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_();
Property changes on: chrome/browser/resources/file_manager/js/file_manager.js
___________________________________________________________________
Deleted: svn:mergeinfo
« no previous file with comments | « chrome/browser/resources/file_manager/js/directory_model.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698