From c735f5c1a4f6a61181f2ced78dd55a6456333493 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 24 Jul 2014 21:03:36 +0500 Subject: [PATCH] add enter press detection to the extension field to auto-dial --- html5/verto/demo/verto.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/html5/verto/demo/verto.js b/html5/verto/demo/verto.js index 56700c6a9d..6e05941a0f 100644 --- a/html5/verto/demo/verto.js +++ b/html5/verto/demo/verto.js @@ -414,6 +414,13 @@ function init() { setupChat(); + $("#ext").keyup(function (event) { + if (event.keyCode == 13) { + $( "#callbtn" ).trigger( "click" ); + } + }); + + } $(document).ready(function() {