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

Unified Diff: chrome/browser/resources/print_preview/settings/page_settings.js

Issue 435393005: [PrintPreview] Custom input focus toggles (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/print_preview/settings/page_settings.js
diff --git a/chrome/browser/resources/print_preview/settings/page_settings.js b/chrome/browser/resources/print_preview/settings/page_settings.js
index 6cec4e04d73c27b4fa3b494de7e1aa83b1a6ef6b..35547a483183b3c988fc9e4171678a4db83e1771 100644
--- a/chrome/browser/resources/print_preview/settings/page_settings.js
+++ b/chrome/browser/resources/print_preview/settings/page_settings.js
@@ -166,14 +166,10 @@ cr.define('print_preview', function() {
},
/**
- * Called when the custom input is blurred. Enables the all radio button if
- * the custom input is empty.
+ * Called when the custom input is blurred.
* @private
*/
onCustomInputBlur_: function() {
Nikhil 2014/08/05 14:39:40 Do we need to keep this empty function?
Aleksey Shlyapnikov 2014/08/07 22:49:14 It should not be empty, see my other comment.
Nikhil 2014/08/08 11:34:36 Acknowledged.
- if (this.customInput_.value == '') {
Aleksey Shlyapnikov 2014/08/07 22:49:14 You're breaking the existing functionality, changi
Nikhil 2014/08/08 11:34:36 Thanks for reviewing and catching this! I didn't k
- this.allRadio_.checked = true;
- }
},
/**
« 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