FS-8022 - fix refresh devices and prevent reset previous selected configuration

This commit is contained in:
Stefan Yohansson 2015-08-21 14:33:43 -03:00 committed by root
parent d262f07d0f
commit ea4fe4f942
2 changed files with 1 additions and 5 deletions

View File

@ -675,7 +675,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http',
};
$scope.refreshDeviceList = function() {
verto.refreshDevices();
return verto.refreshDevices();
}
}
]);

View File

@ -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) {