diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-04 05:57:45 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-04 05:57:45 (GMT) |
commit | 439c1f60ee4ed1a6d8149317a49ba17283160892 (patch) | |
tree | 39367d37efc5cbaab67df922e16366c8cdf54b9f /apps/samples/miles/miles.js | |
parent | 15a26b2e729a9f5326d6958e474d38a59a005f91 (diff) | |
download | uscxml-439c1f60ee4ed1a6d8149317a49ba17283160892.zip uscxml-439c1f60ee4ed1a6d8149317a49ba17283160892.tar.gz uscxml-439c1f60ee4ed1a6d8149317a49ba17283160892.tar.bz2 |
Miles bug-fixes
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, |