Commit 8909ccd4 authored by dgozman@chromium.org's avatar dgozman@chromium.org

[filemanager] Set default sort to Date.

This was broken by columns rename.

BUG=chromium-os:29874
TEST=See bug.
Review URL: https://chromiumcodereview.appspot.com/10205011

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133665 0039d316-1c4b-4281-b951-d872f2087c98
parent 8a6abcbd
...@@ -503,7 +503,8 @@ FileManager.prototype = { ...@@ -503,7 +503,8 @@ FileManager.prototype = {
this.summarizeSelection_(); this.summarizeSelection_();
var sortField = var sortField =
window.localStorage['sort-field-' + this.dialogType_] || 'cachedMtime_'; window.localStorage['sort-field-' + this.dialogType_] ||
'modificationTime';
var sortDirection = var sortDirection =
window.localStorage['sort-direction-' + this.dialogType_] || 'desc'; window.localStorage['sort-direction-' + this.dialogType_] || 'desc';
this.directoryModel_.sortFileList(sortField, sortDirection); this.directoryModel_.sortFileList(sortField, sortDirection);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment