FS-7953 #resolve Verto Communicator - Fixed dialing when typing extension using the keyboard.

This commit is contained in:
Italo Rossi
2015-08-11 14:36:38 -05:00
parent 28ae331c93
commit facf08516c
2 changed files with 3 additions and 3 deletions

View File

@@ -710,10 +710,10 @@ vertoControllers.controller('DialPadController', ['$rootScope', '$scope', '$http
/**
* Call to the number in the $rootScope.dialpadNumber.
*/
$rootScope.call = function() {
$rootScope.call = function(extension) {
storage.data.onHold = false;
storage.data.cur_call = 0;
$rootScope.dialpadNumber = extension;
if(!$rootScope.dialpadNumber && storage.data.called_number) {
$rootScope.dialpadNumber = storage.data.called_number;
return false;