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

Unified Diff: remoting/webapp/client_screen.js

Issue 10374002: Construct in-session window title from scratch, not cumulatively. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: remoting/webapp/client_screen.js
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index d9e92c6cdd20698bc9250e5ff49d830c4cf3afb0..60500c9a20ac21a75e59356f2eb682d21cb3b76d 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -526,7 +526,8 @@ remoting.connectMe2MeWithPin = function() {
remoting.hostJid = host.jabberId;
remoting.hostPublicKey = host.publicKey;
document.getElementById('connected-to').innerText = host.hostName;
- document.title = document.title + ': ' + host.hostName;
+ document.title = chrome.i18n.getMessage('PRODUCT_NAME') + ': ' +
+ host.hostName;
remoting.WcsLoader.load(connectMe2MeWithAccessToken_);
};
« 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