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

This commit is contained in:
Italo Rossi 2016-10-04 18:08:32 -03:00
parent 1870d148ed
commit 8fa08df699

View File

@ -320,6 +320,7 @@
$scope.confTransfer = function(memberID) {
console.log('$scope.confTransfer');
$rootScope.disableOnKeydownDtmf();
prompt({
title: $translate.instant('TITLE_TRANSFER'),
message: $translate.instant('MESSAGE_TRANSFER'),
@ -327,10 +328,14 @@
label: $translate.instant('LABEL_TRANSFER'),
value: '',
}).then(function(exten) {
$rootScope.enableOnKeydownDtmf();
if (exten) {
verto.data.conf.transfer(memberID, exten);
}
}).catch(function(){
$rootScope.enableOnKeydownDtmf();
});
};
$scope.confToggleDeaf = function(member) {