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

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

Issue 59843010: Print to Privet local printers (PDF only) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/destination_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index 8cd12d5c3b287d61ff964d8debe58dde45f04207..4eec40d338e869c74004557798c789d7b0bf2c25 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -671,7 +671,8 @@ cr.define('print_preview', function() {
dest.capabilities = event.capabilities;
this.updateDestination(dest);
- if (this.selectedDestination_ == dest) {
+ if (this.selectedDestination_.isPrivet &&
+ this.selectedDestination_.id == dest.id) {
cr.dispatchSimpleEvent(
this,
DestinationStore.EventType.SELECTED_DESTINATION_CAPABILITIES_READY);

Powered by Google App Engine
This is Rietveld 408576698