Commit 4eb6b0a8 authored by serya@chromium.org's avatar serya@chromium.org

Setting focus on the file list after click on grid/thumbnail view button.

BUG=chromium-os:27958
TEST=Manual test.


Review URL: http://codereview.chromium.org/10105029

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132592 0039d316-1c4b-4281-b951-d872f2087c98
parent 6a3cd37e
...@@ -3898,10 +3898,12 @@ FileManager.prototype = { ...@@ -3898,10 +3898,12 @@ FileManager.prototype = {
FileManager.prototype.onDetailViewButtonClick_ = function(event) { FileManager.prototype.onDetailViewButtonClick_ = function(event) {
this.setListType(FileManager.ListType.DETAIL); this.setListType(FileManager.ListType.DETAIL);
this.currentList_.focus();
}; };
FileManager.prototype.onThumbnailViewButtonClick_ = function(event) { FileManager.prototype.onThumbnailViewButtonClick_ = function(event) {
this.setListType(FileManager.ListType.THUMBNAIL); this.setListType(FileManager.ListType.THUMBNAIL);
this.currentList_.focus();
}; };
/** /**
......
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