FS-8765 - [verto_communicator] Making preview button work again

This commit is contained in:
Italo Rossi 2016-03-24 17:11:17 -03:00
parent 8ef5ad212c
commit ad72c7f56c
1 changed files with 9 additions and 8 deletions

View File

@ -40,7 +40,8 @@
}; };
$scope.showPreview = function() { $scope.showPreview = function() {
$modalInstance.close('Ok.'); var settingsEl = angular.element(document.querySelector('#settings'));
settingsEl.toggleClass('toggled');
if (!verto.data.call) { if (!verto.data.call) {
$location.path('/preview'); $location.path('/preview');
return; return;