提交 8fa08df6 authored 作者: Italo Rossi's avatar Italo Rossi

FS-9607 [verto_communicator] Do not send DTMF when typing in the transfer box

上级 1870d148
...@@ -320,6 +320,7 @@ ...@@ -320,6 +320,7 @@
$scope.confTransfer = function(memberID) { $scope.confTransfer = function(memberID) {
console.log('$scope.confTransfer'); console.log('$scope.confTransfer');
$rootScope.disableOnKeydownDtmf();
prompt({ prompt({
title: $translate.instant('TITLE_TRANSFER'), title: $translate.instant('TITLE_TRANSFER'),
message: $translate.instant('MESSAGE_TRANSFER'), message: $translate.instant('MESSAGE_TRANSFER'),
...@@ -327,10 +328,14 @@ ...@@ -327,10 +328,14 @@
label: $translate.instant('LABEL_TRANSFER'), label: $translate.instant('LABEL_TRANSFER'),
value: '', value: '',
}).then(function(exten) { }).then(function(exten) {
$rootScope.enableOnKeydownDtmf();
if (exten) { if (exten) {
verto.data.conf.transfer(memberID, exten); verto.data.conf.transfer(memberID, exten);
} }
}).catch(function(){
$rootScope.enableOnKeydownDtmf();
}); });
}; };
$scope.confToggleDeaf = function(member) { $scope.confToggleDeaf = function(member) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论