Index: chrome/browser/resources/print_preview/search/destination_search.js |
diff --git a/chrome/browser/resources/print_preview/search/destination_search.js b/chrome/browser/resources/print_preview/search/destination_search.js |
index f16cb101d6ddc672776b1ee04569712212193395..5484ac943f8b7b2fe513d6fa7093cafb3a8bbc58 100644 |
--- a/chrome/browser/resources/print_preview/search/destination_search.js |
+++ b/chrome/browser/resources/print_preview/search/destination_search.js |
@@ -98,7 +98,7 @@ cr.define('print_preview', function() { |
this.localList_ = new print_preview.DestinationList( |
this, |
loadTimeData.getString('localDestinationsTitle'), |
- cr.isChromeOS ? null : loadTimeData.getString('manage')); |
+ loadTimeData.getString('manage')); |
this.addChild(this.localList_); |
/** |
@@ -688,6 +688,10 @@ cr.define('print_preview', function() { |
* @private |
*/ |
onManageLocalDestinationsActivated_: function() { |
+ if (cr.isChromeOS) { |
dpapad
2016/09/19 22:21:19
Is this the right place to intercept? How about ad
xdai1
2016/09/19 22:53:40
Do you mean PrintPreview.onManageLocalDestinations
dpapad
2016/09/20 00:03:23
I meant the one in print_preview.js. It seems more
xdai1
2016/09/20 17:31:29
Done.
|
+ window.open(loadTimeData.getString('localPrintersManagementURL')); |
+ return; |
+ } |
cr.dispatchSimpleEvent( |
this, |
print_preview.DestinationSearch.EventType.MANAGE_LOCAL_DESTINATIONS); |