Index: ui/file_manager/file_manager/foreground/js/file_manager.js |
diff --git a/ui/file_manager/file_manager/foreground/js/file_manager.js b/ui/file_manager/file_manager/foreground/js/file_manager.js |
index 4ad1588991c8428ca5e03225e15429eebd266635..5ad2a946bacdcd2b6beaabea7b5a916eb47fd1cb 100644 |
--- a/ui/file_manager/file_manager/foreground/js/file_manager.js |
+++ b/ui/file_manager/file_manager/foreground/js/file_manager.js |
@@ -2574,6 +2574,8 @@ var BOTTOM_MARGIN_FOR_PREVIEW_PANEL_PX = 52; |
renamedItemElement.removeAttribute('renaming'); |
this.table_.endBatchUpdates(); |
this.grid_.endBatchUpdates(); |
+ // Focus may go out of the list. Back it to the list. |
+ this.currentList_.focus(); |
}.bind(this), |
function(error) { |
// Write back to the old name. |