Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: ui/file_manager/file_manager/foreground/js/directory_model.js

Issue 393303002: [Files.app] Update the filelist on delete-only filechange event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698