Index: remoting/webapp/remoting.js |
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js |
index b84058b662507123e2c827f80902334ec506ad84..976807730e2ebd091417e9dbf8a93478dc8e46b8 100644 |
--- a/remoting/webapp/remoting.js |
+++ b/remoting/webapp/remoting.js |
@@ -93,7 +93,7 @@ remoting.init = function() { |
} |
} |
// No valid URL parameters, start up normally. |
- remoting.initDaemonUi(); |
+ remoting.initHomeScreenUi(); |
} |
remoting.hostList.load(onLoad); |
@@ -123,8 +123,8 @@ remoting.onEmail = function(email) { |
}; |
/** initDaemonUi is called if the app is not starting up in session mode, and |
garykac
2013/03/20 20:51:52
s/initDaemonUi/initHomeScreenUi/
|
- * also if the user cancels pin entry or the connection in session mode. */ |
-remoting.initDaemonUi = function() { |
+ * also if the user cancels pin entry or the connection in session mode. */ |
+remoting.initHomeScreenUi = function() { |
remoting.hostController = new remoting.HostController(); |
document.getElementById('share-button').disabled = |
!remoting.hostController.isPluginSupported(); |
@@ -137,6 +137,7 @@ remoting.initDaemonUi = function() { |
// Display the cached host list, then asynchronously update and re-display it. |
remoting.updateLocalHostState(); |
remoting.hostList.refresh(remoting.updateLocalHostState); |
+ remoting.initSurvey(); |
}; |
/** |