Merge pull request #417 in FS/freeswitch from ~JONATASOLIVEIRA/freeswitch:FS-8022-clicking-refresh-device-list-should to master
* commit 'ea4fe4f942e73fa2b7595399523054b8e09840d8': FS-8022 - fix refresh devices and prevent reset previous selected configuration
This commit is contained in:
commit
175fb8667e
|
@ -676,7 +676,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http',
|
|||
};
|
||||
|
||||
$scope.refreshDeviceList = function() {
|
||||
verto.refreshDevices();
|
||||
return verto.refreshDevices();
|
||||
}
|
||||
}
|
||||
]);
|
||||
|
|
|
@ -248,10 +248,6 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
|
|||
}];
|
||||
data.audioDevices = [];
|
||||
|
||||
data.selectedVideo = 'none';
|
||||
data.selectedShare = 'screen';
|
||||
data.selectedAudio = null;
|
||||
|
||||
for (var i in jQuery.verto.videoDevices) {
|
||||
var device = jQuery.verto.videoDevices[i];
|
||||
if (!device.label) {
|
||||
|
|
Loading…
Reference in New Issue