summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgozman@chromium.org <dgozman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-12 13:40:31 +0000
committerdgozman@chromium.org <dgozman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-12 13:40:31 +0000
commit588be018436093781847593513ec1e5875a532db (patch)
tree91e80bb70956059f83b80f1ce390172c016668c6
parentc8d71d105c95cd631ebc0d159e31ffc71774d25b (diff)
downloadchromium_src-588be018436093781847593513ec1e5875a532db.zip
chromium_src-588be018436093781847593513ec1e5875a532db.tar.gz
chromium_src-588be018436093781847593513ec1e5875a532db.tar.bz2
[fileborwser] Set default sort to date desc.
BUG=chromium-os:19082 TEST=See bug. Review URL: http://codereview.chromium.org/8241004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105068 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/resources/file_manager/js/file_manager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/resources/file_manager/js/file_manager.js b/chrome/browser/resources/file_manager/js/file_manager.js
index 8277483..a955ea3 100644
--- a/chrome/browser/resources/file_manager/js/file_manager.js
+++ b/chrome/browser/resources/file_manager/js/file_manager.js
@@ -138,7 +138,7 @@ function FileManager(dialogDom, filesystem, rootEntries) {
this.summarizeSelection_();
this.updatePreview_();
- this.dataModel_.sort('name', 'asc');
+ this.dataModel_.sort('cachedMtime_', 'desc');
this.refocus();