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

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

Issue 10824322: Merge 150482 - Fix duplex defaults. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
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
===================================================================
--- chrome/browser/resources/print_preview/data/print_ticket_store.js (revision 151785)
+++ chrome/browser/resources/print_preview/data/print_ticket_store.js (working copy)
@@ -634,7 +634,10 @@
if (isFirstUpdate) {
cr.dispatchSimpleEvent(this, PrintTicketStore.EventType.INITIALIZE);
} else {
+ // Reset user selection for certain ticket items.
+ this.duplex_.updateValue(null);
this.customMargins_.updateValue(null);
+
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