From: Italo Rossi Date: Tue, 4 Oct 2016 21:08:32 +0000 (-0300) Subject: FS-9607 [verto_communicator] Do not send DTMF when typing in the transfer box X-Git-Tag: v1.8.0~1220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fa08df69904c947e8e1265be93f085331ad5d33;p=thirdparty%2Ffreeswitch.git FS-9607 [verto_communicator] Do not send DTMF when typing in the transfer box --- diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js index c3f25a5806..8ed6cac662 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/ChatController.js @@ -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) {