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

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

Issue 383463004: Gallery.app: Fix entry update in the slide mode. (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/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 6f76ee74014e26bf21fee454480daf9e24fc25f2..bdbe8a2b331b14cad15ff4c4d46c3fa16d0c721c 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -929,7 +929,7 @@ SlideMode.prototype.saveCurrentImage_ = function(callback) {
*/
SlideMode.prototype.onContentChange_ = function(event) {
var newEntry = event.item.getEntry();
- if (util.isSameEntry(newEntry, event.oldEntry))
+ if (!util.isSameEntry(newEntry, event.oldEntry))
this.imageView_.changeEntry(newEntry);
};
« 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