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

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js

Issue 563243003: Fix printer vendor options handling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
index d2acb1f780d2b50ba4ea35fe67f2e49cbbe452fa..d8c6e89d441fc4e9389d916a68413b580fe8fe9d 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/vendor_items.js
@@ -53,8 +53,8 @@ cr.define('print_preview.ticket_items', function() {
/** @return {boolean} Whether the ticket item was modified by the user. */
isUserEdited: function() {
// If there's at least one ticket item stored in values, it was edited.
- for (var key in values) {
- if (values.hasOwnProperty(key))
+ for (var key in this.items_) {
+ if (this.items_.hasOwnProperty(key))
return true;
}
return false;
« 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