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

Unified Diff: chrome/browser/resources/file_manager/js/image_editor/gallery.js

Issue 10229003: [Photo Editor] Fixed an exception when renaming an edited image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: chrome/browser/resources/file_manager/js/image_editor/gallery.js
diff --git a/chrome/browser/resources/file_manager/js/image_editor/gallery.js b/chrome/browser/resources/file_manager/js/image_editor/gallery.js
index 4f915ec829731359c38222416d5ffed322f671d9..7473861086082e4891e2aff2c5fc91988dd15500 100644
--- a/chrome/browser/resources/file_manager/js/image_editor/gallery.js
+++ b/chrome/browser/resources/file_manager/js/image_editor/gallery.js
@@ -544,7 +544,7 @@ Gallery.prototype.renameItem_ = function(item, name) {
if (self.imageChanges_ > 0) {
// Use this name in the next save operation.
item.setNameForSaving(newName);
- this.filenameSpacer_.removeAttribute('overwrite');
+ self.filenameSpacer_.removeAttribute('overwrite');
self.updateFilename_();
} else {
// Rename file in place.
« 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