| Index: ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| diff --git a/ui/file_manager/file_manager/foreground/js/main_window_component.js b/ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| index 007d3a6fe6c38dfc50ede8464a192f6423b83b5d..aa88065ac1920190868aa5f523c8794d7945a9c5 100644
|
| --- a/ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| +++ b/ui/file_manager/file_manager/foreground/js/main_window_component.js
|
| @@ -185,7 +185,8 @@ MainWindowComponent.prototype.onDetailClick_ = function(event) {
|
|
|
| var entry = selection.entries[0];
|
| if (entry.isDirectory) {
|
| - this.directoryModel_.changeDirectoryEntry(entry);
|
| + this.directoryModel_.changeDirectoryEntry(
|
| + /** @type {!DirectoryEntry} */ (entry));
|
| } else {
|
| this.taskController_.dispatchSelectionAction();
|
| }
|
| @@ -278,7 +279,8 @@ MainWindowComponent.prototype.onListKeyDown_ = function(event) {
|
| // directory.
|
| if (item && !item.hasAttribute('renaming')) {
|
| event.preventDefault();
|
| - this.directoryModel_.changeDirectoryEntry(selection.entries[0]);
|
| + this.directoryModel_.changeDirectoryEntry(
|
| + /** @type {!DirectoryEntry} */ (selection.entries[0]));
|
| }
|
| } else if (this.taskController_.dispatchSelectionAction()) {
|
| event.preventDefault();
|
|
|