| Index: chrome/browser/resources/file_manager/foreground/js/ui/navigation_list.js
|
| diff --git a/chrome/browser/resources/file_manager/foreground/js/ui/navigation_list.js b/chrome/browser/resources/file_manager/foreground/js/ui/navigation_list.js
|
| index f471aa6c0de10807205e5da5b3e662da32d1cdb7..330033425147d460d3985dc8b5398cbba2aa4884 100644
|
| --- a/chrome/browser/resources/file_manager/foreground/js/ui/navigation_list.js
|
| +++ b/chrome/browser/resources/file_manager/foreground/js/ui/navigation_list.js
|
| @@ -217,8 +217,11 @@ NavigationList.prototype.renderRoot_ = function(modelItem) {
|
| item.setModelItem(modelItem, volumeInfo && volumeInfo.deviceType);
|
|
|
| var handleClick = function() {
|
| + // TODO(mtomasz, yoshiki): Do not use fullPath here, but Entry.
|
| if (item.selected &&
|
| - modelItem.path !== this.directoryModel_.getCurrentDirPath()) {
|
| + (!this.directoryModel_.getCurrentDirEntry() ||
|
| + modelItem.path !==
|
| + this.directoryModel_.getCurrentDirEntry().fullPath)) {
|
| metrics.recordUserAction('FolderShortcut.Navigate');
|
| this.changeDirectory_(modelItem);
|
| }
|
|
|