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

Unified Diff: ui/file_manager/gallery/js/slide_mode.js

Issue 310433004: Gallery.app: Update thumbnail when a file is edited on the photo editor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 7 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 | « ui/file_manager/gallery/js/ribbon.js ('k') | ui/file_manager/image_loader/request.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/gallery/js/slide_mode.js
diff --git a/ui/file_manager/gallery/js/slide_mode.js b/ui/file_manager/gallery/js/slide_mode.js
index af9cb5a260024d287c8655be913ec7a9b2609249..d380a18da4f60c4a4eea3bdc8539222beb28eda1 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -940,6 +940,8 @@ SlideMode.prototype.saveCurrentImage_ = function(callback) {
this.selectedImageMetadata_.media, canvas, 1 /* quality */);
var selectedImageMetadata = ContentProvider.ConvertContentMetadata(
metadataEncoder.getMetadata(), this.selectedImageMetadata_);
+ if (selectedImageMetadata.filesystem)
+ selectedImageMetadata.filesystem.modificationTime = new Date();
this.selectedImageMetadata_ = selectedImageMetadata;
this.metadataCache_.set(oldEntry,
Gallery.METADATA_TYPE,
« no previous file with comments | « ui/file_manager/gallery/js/ribbon.js ('k') | ui/file_manager/image_loader/request.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698