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

Unified Diff: remoting/webapp/remoting.js

Issue 10736020: Fixed host list cache and "no hosts" icon flash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments. Created 8 years, 5 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 | « remoting/webapp/host_list.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/remoting.js
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 462ee7ec578ad3964a1f079e4d37ae345926644e..b11f91221ac7d649497be3ec4ed50e81b3174f50 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -93,6 +93,7 @@ remoting.initDaemonUi = function () {
remoting.setMode(getAppStartupMode_());
remoting.hostSetupDialog =
new remoting.HostSetupDialog(remoting.hostController);
+ // Display the cached host list, then asynchronously update and re-display it.
remoting.extractThisHostAndDisplay(true);
remoting.hostList.refresh(remoting.extractThisHostAndDisplay);
};
« no previous file with comments | « remoting/webapp/host_list.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698