提交 175fb866 authored 作者: Ítalo Rossi's avatar Ítalo Rossi

Merge pull request #417 in FS/freeswitch from…

Merge pull request #417 in FS/freeswitch from ~JONATASOLIVEIRA/freeswitch:FS-8022-clicking-refresh-device-list-should to master

* commit 'ea4fe4f9':
  FS-8022 - fix refresh devices and prevent reset previous selected configuration
...@@ -676,7 +676,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http', ...@@ -676,7 +676,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http',
}; };
$scope.refreshDeviceList = function() { $scope.refreshDeviceList = function() {
verto.refreshDevices(); return verto.refreshDevices();
} }
} }
]); ]);
......
...@@ -248,10 +248,6 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora ...@@ -248,10 +248,6 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
}]; }];
data.audioDevices = []; data.audioDevices = [];
data.selectedVideo = 'none';
data.selectedShare = 'screen';
data.selectedAudio = null;
for (var i in jQuery.verto.videoDevices) { for (var i in jQuery.verto.videoDevices) {
var device = jQuery.verto.videoDevices[i]; var device = jQuery.verto.videoDevices[i];
if (!device.label) { if (!device.label) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论