diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-11 21:26:58 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-11-11 21:26:58 (GMT) |
commit | fd6e7f5b7837363d043dc340d22a6fe4c2b8e554 (patch) | |
tree | fec0d2818ab4ad368b8824d4e9d52be36d321291 /apps/samples/miles/miles.js | |
parent | 5b92cc430ffe2a4e4f91c2d455652cd6f29f6d37 (diff) | |
download | uscxml-fd6e7f5b7837363d043dc340d22a6fe4c2b8e554.zip uscxml-fd6e7f5b7837363d043dc340d22a6fe4c2b8e554.tar.gz uscxml-fd6e7f5b7837363d043dc340d22a6fe4c2b8e554.tar.bz2 |
Fixed an obscure JS bug with miles
Diffstat (limited to 'apps/samples/miles/miles.js')
-rw-r--r-- | apps/samples/miles/miles.js | 1 |
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; } |