Index: chrome/browser/resources/print_preview/print_preview.js |
diff --git a/chrome/browser/resources/print_preview/print_preview.js b/chrome/browser/resources/print_preview/print_preview.js |
index f220da8eaeb845729eb80a29096f610b74a8c73a..21fecce6aae3b355f7bda7d23cd63f00d7f11d57 100644 |
--- a/chrome/browser/resources/print_preview/print_preview.js |
+++ b/chrome/browser/resources/print_preview/print_preview.js |
@@ -963,6 +963,10 @@ cr.define('print_preview', function() { |
* @private |
*/ |
onManageLocalDestinationsActivated_: function() { |
+ if (cr.isChromeOS && loadTimeData.getBoolean('showLocalManageButton')) { |
Dan Beam
2016/09/21 20:56:25
if (loadTimeData.valueExists('localPrintersManagem
dpapad
2016/09/21 20:58:23
I think the confusing part is here. Why would this
xdai1
2016/09/21 23:38:53
You're right that we won't get the event in the fi
dpapad
2016/09/22 00:18:15
That looks fine. Alternatively, we could just do t
|
+ window.open(loadTimeData.getString('localPrintersManagementURL')); |
+ return; |
+ } |
this.nativeLayer_.startManageLocalDestinations(); |
}, |