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

Unified Diff: remoting/webapp/client_screen.js

Issue 9664013: Hide daemon UI initially. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « no previous file | remoting/webapp/main.html » ('j') | 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 ea677ccd378ab99514097b78c80c6d3dc1732409..5890518400270bb50245507b595abeff723a057c 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -87,8 +87,12 @@ remoting.cancelConnect = function() {
remoting.clientSession.removePlugin();
remoting.clientSession = null;
}
- remoting.setMode(remoting.AppMode.HOME);
- document.getElementById('access-code-entry').value = '';
+ if (remoting.currentConnectionType == remoting.ConnectionType.Me2Me) {
+ remoting.initDaemonUi();
+ } else {
+ remoting.setMode(remoting.AppMode.HOME);
+ document.getElementById('access-code-entry').value = '';
+ }
};
/**
« no previous file with comments | « no previous file | remoting/webapp/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698