summaryrefslogtreecommitdiffstats
path: root/remoting/webapp/ui_mode.js
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/webapp/ui_mode.js')
-rw-r--r--remoting/webapp/ui_mode.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/remoting/webapp/ui_mode.js b/remoting/webapp/ui_mode.js
index e9d8474..16e5e53 100644
--- a/remoting/webapp/ui_mode.js
+++ b/remoting/webapp/ui_mode.js
@@ -276,3 +276,12 @@ function confineOrRestoreFocus_(mutations) {
}
}
}
+
+/**
+ * @param {string} tag
+ */
+remoting.showSetupProcessingMessage = function(tag) {
+ var messageDiv = document.getElementById('host-setup-processing-message');
+ l10n.localizeElementFromTag(messageDiv, tag);
+ remoting.setMode(remoting.AppMode.HOST_SETUP_PROCESSING);
+}