mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-14 19:16:59 +00:00
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…
x
Reference in New Issue
Block a user