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

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

Issue 9004022: [filebrowser] In image editor, remove focus from file name edit when clicked outside. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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
===================================================================
--- chrome/browser/resources/file_manager/js/image_editor/gallery.js (revision 114424)
+++ chrome/browser/resources/file_manager/js/image_editor/gallery.js (working copy)
@@ -91,6 +91,9 @@
this.imageContainer_ = doc.createElement('div');
this.imageContainer_.className = 'image-container';
+ this.imageContainer_.addEventListener('click', (function() {
+ this.filenameEdit_.blur();
+ }).bind(this));
this.container_.appendChild(this.imageContainer_);
this.toolbar_ = doc.createElement('div');
« 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