summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-11 21:26:58 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-11-11 21:26:58 (GMT)
commitfd6e7f5b7837363d043dc340d22a6fe4c2b8e554 (patch)
treefec0d2818ab4ad368b8824d4e9d52be36d321291 /apps
parent5b92cc430ffe2a4e4f91c2d455652cd6f29f6d37 (diff)
downloaduscxml-fd6e7f5b7837363d043dc340d22a6fe4c2b8e554.zip
uscxml-fd6e7f5b7837363d043dc340d22a6fe4c2b8e554.tar.gz
uscxml-fd6e7f5b7837363d043dc340d22a6fe4c2b8e554.tar.bz2
Fixed an obscure JS bug with miles
Diffstat (limited to 'apps')
-rw-r--r--apps/samples/miles/miles.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/samples/miles/miles.js b/apps/samples/miles/miles.js
index 8afbf21..cd61f64 100644
--- a/apps/samples/miles/miles.js
+++ b/apps/samples/miles/miles.js
@@ -329,6 +329,7 @@ function Miles(element, params) {
var code = e.keyCode || e.which;
if( code === 13 ) {
e.preventDefault();
+ self.chatInput.get('value'); // send button reads empty string otherwise?!
self.chatSendButton.onClick();
return false;
}