Index: remoting/webapp/wcs_sandbox_content.js |
diff --git a/remoting/webapp/wcs_sandbox_content.js b/remoting/webapp/wcs_sandbox_content.js |
index b97f6a4c6dc8eee2c2d72cd0d40a6e0c6c1227b1..8de46633731412c76617e6045bc39db7e6a3d850 100644 |
--- a/remoting/webapp/wcs_sandbox_content.js |
+++ b/remoting/webapp/wcs_sandbox_content.js |
@@ -75,7 +75,7 @@ remoting.WcsSandboxContent.prototype.onMessage_ = function(event) { |
} else if (!remoting.wcsLoader) { |
remoting.wcsLoader = new remoting.WcsLoader(); |
remoting.wcsLoader.start(token, |
- this.onReady_.bind(this), |
+ this.onLocalJid_.bind(this), |
this.onError_.bind(this)); |
} |
break; |
@@ -121,10 +121,10 @@ remoting.WcsSandboxContent.prototype.onMessage_ = function(event) { |
* @param {string} clientJid The full JID of the WCS client. |
* @private |
*/ |
-remoting.WcsSandboxContent.prototype.onReady_ = function(clientJid) { |
+remoting.WcsSandboxContent.prototype.onLocalJid_ = function(clientJid) { |
remoting.wcs.setOnIq(this.onIq_.bind(this)); |
var message = { |
- 'command': 'onReady', |
+ 'command': 'onLocalJid', |
'clientJid': clientJid |
}; |
this.parentWindow_.postMessage(message, '*'); |