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

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

Issue 2713033003: Print Preview: Show error message if text is typed in Copies section (Closed)
Patch Set: Created 3 years, 10 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
Index: chrome/browser/resources/print_preview/settings/copies_settings.js
diff --git a/chrome/browser/resources/print_preview/settings/copies_settings.js b/chrome/browser/resources/print_preview/settings/copies_settings.js
index 6ac9a998372084a9337e9b4c2cd8a7ad96cefa10..3478f15197e29b75e086df63257d0f9d1ee79a2f 100644
--- a/chrome/browser/resources/print_preview/settings/copies_settings.js
+++ b/chrome/browser/resources/print_preview/settings/copies_settings.js
@@ -150,9 +150,7 @@ cr.define('print_preview', function() {
onTextfieldTimeout_: function() {
this.textfieldTimeout_ = null;
var copiesVal = this.inputField_.value;
- if (copiesVal != '') {
- this.copiesTicketItem_.updateValue(copiesVal);
- }
+ this.copiesTicketItem_.updateValue(copiesVal);
},
/**

Powered by Google App Engine
This is Rietveld 408576698