提交 facf0851 authored 作者: Italo Rossi's avatar Italo Rossi

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

上级 28ae331c
...@@ -710,10 +710,10 @@ vertoControllers.controller('DialPadController', ['$rootScope', '$scope', '$http ...@@ -710,10 +710,10 @@ vertoControllers.controller('DialPadController', ['$rootScope', '$scope', '$http
/** /**
* Call to the number in the $rootScope.dialpadNumber. * Call to the number in the $rootScope.dialpadNumber.
*/ */
$rootScope.call = function() { $rootScope.call = function(extension) {
storage.data.onHold = false; storage.data.onHold = false;
storage.data.cur_call = 0; storage.data.cur_call = 0;
$rootScope.dialpadNumber = extension;
if(!$rootScope.dialpadNumber && storage.data.called_number) { if(!$rootScope.dialpadNumber && storage.data.called_number) {
$rootScope.dialpadNumber = storage.data.called_number; $rootScope.dialpadNumber = storage.data.called_number;
return false; return false;
......
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
</div> </div>
</div> </div>
<div class="form-group text-center"> <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> <i class="mdi-communication-call"></i>
</button> </button>
</div> </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论