FS-8550 [verto_communicator] - Now setting testSpeedJoin to false when 'auto' is disabled and changed instruction for closing modal in resetSettings()

This commit is contained in:
Jaon EarlWolf 2015-11-17 16:30:17 -03:00
parent f14fcb7838
commit accc6206dd

View File

@ -43,7 +43,7 @@
if (confirm('Factory Reset Settings?')) { if (confirm('Factory Reset Settings?')) {
storage.factoryReset(); storage.factoryReset();
$scope.logout(); $scope.logout();
$scope.ok(); $modalInstance.close('Ok.');
window.location.reload(); window.location.reload();
}; };
}; };
@ -54,6 +54,7 @@
$scope.mydata.outgoingBandwidth = 'default'; $scope.mydata.outgoingBandwidth = 'default';
$scope.mydata.incomingBandwidth = 'default'; $scope.mydata.incomingBandwidth = 'default';
$scope.mydata.vidQual = 'hd'; $scope.mydata.vidQual = 'hd';
$scope.mydata.testSpeedJoin = false;
} else { } else {
$scope.mydata.testSpeedJoin = true; $scope.mydata.testSpeedJoin = true;
} }