add enter press detection to the extension field to auto-dial
This commit is contained in:
parent
d9eafdf0cb
commit
c735f5c1a4
|
@ -414,6 +414,13 @@ function init() {
|
||||||
|
|
||||||
setupChat();
|
setupChat();
|
||||||
|
|
||||||
|
$("#ext").keyup(function (event) {
|
||||||
|
if (event.keyCode == 13) {
|
||||||
|
$( "#callbtn" ).trigger( "click" );
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
Loading…
Reference in New Issue