FS-8765 - [verto_communicator] Making preview button work again
This commit is contained in:
parent
8ef5ad212c
commit
ad72c7f56c
|
@ -40,14 +40,15 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.showPreview = function() {
|
$scope.showPreview = function() {
|
||||||
$modalInstance.close('Ok.');
|
var settingsEl = angular.element(document.querySelector('#settings'));
|
||||||
if (!verto.data.call) {
|
settingsEl.toggleClass('toggled');
|
||||||
$location.path('/preview');
|
if (!verto.data.call) {
|
||||||
return;
|
$location.path('/preview');
|
||||||
}
|
return;
|
||||||
else {
|
}
|
||||||
toastr.warning('Can\'t display preview settings during a call');
|
else {
|
||||||
}
|
toastr.warning('Can\'t display preview settings during a call');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.testSpeed = function() {
|
$scope.testSpeed = function() {
|
||||||
|
|
Loading…
Reference in New Issue