]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8022 - fix refresh devices and prevent reset previous selected configuration
authorStefan Yohansson <stefan@evolux.net.br>
Fri, 21 Aug 2015 17:33:43 +0000 (14:33 -0300)
committerroot <root@dev-vm1.evolux.net.br>
Fri, 21 Aug 2015 17:33:45 +0000 (14:33 -0300)
html5/verto/verto_communicator/js/controllers.js
html5/verto/verto_communicator/js/verto-service.js

index e7f55fe1196241f34f8c17331f25e7d6d4e9b237..64e780f59611a015ff6074d2a76ff33c1dc42d6f 100644 (file)
@@ -675,7 +675,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http',
     };
 
     $scope.refreshDeviceList = function() {
-      verto.refreshDevices();
+      return verto.refreshDevices();
     }
   }
 ]);
index c319f45862e6ae356c6045112f334de4b37d51be..194b189bf417961ce1239a94ea1a8b5d051806b5 100644 (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) {