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

Unified Diff: remoting/webapp/crd/js/paired_client_manager.js

Issue 1004513002: Eliminated named constants for instances of remoting.Error. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
Index: remoting/webapp/crd/js/paired_client_manager.js
diff --git a/remoting/webapp/crd/js/paired_client_manager.js b/remoting/webapp/crd/js/paired_client_manager.js
index 9fe37fd7f775cb9d86f0c2375450832cb91b615e..13d363638ea8b3ae5ddaac1cdea87566cd1f33e5 100644
--- a/remoting/webapp/crd/js/paired_client_manager.js
+++ b/remoting/webapp/crd/js/paired_client_manager.js
@@ -231,7 +231,7 @@ remoting.PairedClientManager.prototype.setWorking_ = function(working) {
*/
remoting.PairedClientManager.prototype.onError_ = function(error) {
this.setWorking_(false);
- l10n.localizeElementFromTag(this.errorDiv_, error.tag);
+ l10n.localizeElementFromTag(this.errorDiv_, error);
this.errorDiv_.hidden = false;
};

Powered by Google App Engine
This is Rietveld 408576698