diff options
Diffstat (limited to 'apps/samples/miles/miles.js')
-rw-r--r-- | apps/samples/miles/miles.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/samples/miles/miles.js b/apps/samples/miles/miles.js index cf7d729..a340e07 100644 --- a/apps/samples/miles/miles.js +++ b/apps/samples/miles/miles.js @@ -141,7 +141,7 @@ function Miles(element, params) { return; var query = ""; - query += "?userid=" + encodeURIComponent(email); + query += "?userid=" + encodeURIComponent(remoteEmail); self.xhr.get({ // The URL to request url: "http://" + scxmlURL + "/miles/thumbnail" + query, @@ -313,7 +313,7 @@ function Miles(element, params) { <table>\ <tr><td>Problem Name:</td><td><div class="problemName" /></td></tr>\ <tr><td>Your Email:</td><td><div class="email" /></td></tr>\ - <!-- tr><td>Other Email:</td><td><div class="remoteEmail" /></td></tr -->\ + <tr><td>Other Email:</td><td><div class="remoteEmail" /></td></tr>\ <tr><td>Reflector Host:</td><td><div class="reflectorIp" /></td></tr>\ <tr><td>Video Server:</td><td><div class="scxmlURL" /></td></tr>\ <tr><td></td><td align="right"><div class="connectButton" /></td></tr>\ @@ -337,6 +337,13 @@ function Miles(element, params) { }); dojo.query("div.email", self.connectToolTip.domNode)[0].appendChild(self.emailBox.domNode); + self.remoteEmailBox = new TextBox({ + name: "remoteEmail", + value: remoteEmail, + style: "width: 100%", + }); + dojo.query("div.remoteEmail", self.connectToolTip.domNode)[0].appendChild(self.remoteEmailBox.domNode); + self.reflectorIpBox = new TextBox({ name: "reflectorIp", value: reflectorIp, |