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

Unified Diff: chrome/browser/resources/print_preview/search/cloud_destination_list.js

Issue 2861963002: Fix bad refactoring in r467153. (Closed)
Patch Set: Fix bad refactoring in r467153. Created 3 years, 7 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/search/cloud_destination_list.js
diff --git a/chrome/browser/resources/print_preview/search/cloud_destination_list.js b/chrome/browser/resources/print_preview/search/cloud_destination_list.js
index 71e5bc37c641cc0121305b3f481693ca37d4b6fe..dad8e0dbd2775645a982402d704cd2e689f7bd67 100644
--- a/chrome/browser/resources/print_preview/search/cloud_destination_list.js
+++ b/chrome/browser/resources/print_preview/search/cloud_destination_list.js
@@ -26,11 +26,11 @@ cr.define('print_preview', function() {
/** @override */
updateDestinations: function(destinations) {
// Change the action link from "Manage..." to "Setup..." if user only has
- // Docs printers.
+ // the Docs printer.
var docsId = print_preview.Destination.GooglePromotedId.DOCS;
- this.setActionLinkTextInternal(
+ this.setActionLinkTextInternal(loadTimeData.getString(
destinations.length == 1 && destinations[0].id == docsId ?
- 'setupCloudPrinters' : 'manage');
+ 'setupCloudPrinters' : 'manage'));
print_preview.DestinationList.prototype.updateDestinations.call(
this, destinations);
}
« 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