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

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

Issue 931603002: Update the thumbnail when a file is updated. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failed test case. Created 5 years, 10 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
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 5b3c6476660e9f6747673e2cc25f64b976988420..8479223d7b7cff2c241d01530058279dc2cd2371 100644
--- a/ui/file_manager/file_manager/foreground/js/directory_model.js
+++ b/ui/file_manager/file_manager/foreground/js/directory_model.js
@@ -398,6 +398,8 @@ DirectoryModel.prototype.rescan = function(refresh) {
var dirContents = this.currentDirContents_.clone();
dirContents.setFileList([]);
+ dirContents.setMetadataSnapshot(
+ this.currentDirContents_.createMetadataSnapshot());
var sequence = this.changeDirectorySequence_;

Powered by Google App Engine
This is Rietveld 408576698