FS-7953 #resolve Verto Communicator - Fixed dialing when typing extension using the keyboard.
This commit is contained in:
parent
28ae331c93
commit
facf08516c
|
@ -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;
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="form-group text-center">
|
||||
<button type="submit" class="btn btn-success btn-fab" ng-click="call()" title="Call Extension">
|
||||
<button type="submit" class="btn btn-success btn-fab" ng-click="call(dialpadNumber)" title="Call Extension">
|
||||
<i class="mdi-communication-call"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue