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

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

Issue 2314393004: Gallery: Leave edit mode on starting print preview. (Closed)
Patch Set: Gallery: Leave edit mode on starting print preview. Created 4 years, 3 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 a74919151ae9d279722119a83c691609b3491ec7..12113f635641c9e39be3f9e30483dde34930e58e 100644
--- a/ui/file_manager/gallery/js/slide_mode.js
+++ b/ui/file_manager/gallery/js/slide_mode.js
@@ -1700,6 +1700,7 @@ SlideMode.prototype.setOverwriteBubbleCount_ = function(value) {
* @private
*/
SlideMode.prototype.print_ = function() {
+ this.stopEditing_();
cr.dispatchSimpleEvent(this, 'useraction');
window.print();
};
« 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