Index: ui/file_manager/file_manager/foreground/js/directory_model.js |
diff --git a/ui/file_manager/file_manager/foreground/js/directory_model.js b/ui/file_manager/file_manager/foreground/js/directory_model.js |
index 205d75177463cfb77733c2722b82d28642555578..addab3f2b0957fc1565772451db2c639327c8fa3 100644 |
--- a/ui/file_manager/file_manager/foreground/js/directory_model.js |
+++ b/ui/file_manager/file_manager/foreground/js/directory_model.js |
@@ -183,6 +183,8 @@ DirectoryModel.prototype.onWatcherDirectoryChanged_ = function(event) { |
this.currentDirContents_.prefetchMetadata(entries, true, function() { |
this.rescanSoon(false); |
}.bind(this)); |
+ } else { |
+ this.rescanSoon(false); |
} |
}.bind(this)).catch(function(error) { |
console.error('Error in proceeding the changed event.', error, |