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

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

Issue 613413003: Files.app: Fix DirectoryModel#partialUpdate so that it does not ignore changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2171
Patch Set: Created 6 years, 3 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 2b4c6b0481a693a5e205e1bb38f6a3fcb15c05a6..b06971f12324a68d7a68584b1f22bfcba7d1667c 100644
--- a/ui/file_manager/file_manager/foreground/js/directory_model.js
+++ b/ui/file_manager/file_manager/foreground/js/directory_model.js
@@ -468,8 +468,7 @@ DirectoryModel.prototype.partialUpdate_ =
onPreviousScanCompleted);
// Run the update asynchronously.
Promise.resolve().then(function() {
- if (!this.runningScan_)
- this.partialUpdate_(changedEntries, removedUrls);
+ this.partialUpdate_(changedEntries, removedUrls);
}.bind(this));
}.bind(this);
previousScan.addEventListener('scan-completed', onPreviousScanCompleted);
« 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