mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-18 07:18:34 +00:00
FS-8765 - [verto_communicator] Making preview button work again
This commit is contained in:
1 parent
8ef5ad212c
commit
ad72c7f56c
1 file changed
+9
-8
+9
-8
@@ -40,14 +40,15 @@
|
||||
};
|
||||
|
||||
$scope.showPreview = function() {
|
||||
$modalInstance.close('Ok.');
|
||||
if (!verto.data.call) {
|
||||
$location.path('/preview');
|
||||
return;
|
||||
}
|
||||
else {
|
||||
toastr.warning('Can\'t display preview settings during a call');
|
||||
}
|
||||
var settingsEl = angular.element(document.querySelector('#settings'));
|
||||
settingsEl.toggleClass('toggled');
|
||||
if (!verto.data.call) {
|
||||
$location.path('/preview');
|
||||
return;
|
||||
}
|
||||
else {
|
||||
toastr.warning('Can\'t display preview settings during a call');
|
||||
}
|
||||
};
|
||||
|
||||
$scope.testSpeed = function() {
|
||||
|
||||
Reference in new issue
Block a user