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

Unified Diff: chrome/browser/resources/print_preview/data/print_ticket_store.js

Issue 10829229: Fix duplex defaults. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
Index: chrome/browser/resources/print_preview/data/print_ticket_store.js
diff --git a/chrome/browser/resources/print_preview/data/print_ticket_store.js b/chrome/browser/resources/print_preview/data/print_ticket_store.js
index b9e2e4acb294d20c31c98c28d5856d7bda1164a0..1348a8d254675b439205a6b5d683cbd15554b598 100644
--- a/chrome/browser/resources/print_preview/data/print_ticket_store.js
+++ b/chrome/browser/resources/print_preview/data/print_ticket_store.js
@@ -634,7 +634,10 @@ cr.define('print_preview', function() {
if (isFirstUpdate) {
cr.dispatchSimpleEvent(this, PrintTicketStore.EventType.INITIALIZE);
} else {
+ // Reset user selection for certain ticket items.
+ this.duplex_.updateValue(null);
this.customMargins_.updateValue(null);
+
Albert Bodenhamer 2012/08/08 00:01:51 Did you mean to add the blank line?
Robert Toscano 2012/08/08 00:05:48 Yea to separate it from the next step, which is un
if (this.marginsType_.getValue() ==
print_preview.ticket_items.MarginsType.Value.CUSTOM) {
this.marginsType_.updateValue(
« no previous file with comments | « chrome/browser/resources/print_preview/data/local_parsers.js ('k') | chrome/test/data/webui/print_preview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698