add enter press detection to the extension field to auto-dial

This commit is contained in:
Anthony Minessale 2014-07-24 21:03:36 +05:00
parent d9eafdf0cb
commit c735f5c1a4
1 changed files with 7 additions and 0 deletions

View File

@ -414,6 +414,13 @@ function init() {
setupChat();
$("#ext").keyup(function (event) {
if (event.keyCode == 13) {
$( "#callbtn" ).trigger( "click" );
}
});
}
$(document).ready(function() {