Skip to content

Commit

Permalink
#2642 small fixes on UI side
Browse files Browse the repository at this point in the history
  • Loading branch information
Dilshat Aliev committed Sep 13, 2018
1 parent 4ae3cf9 commit 5ccd709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ function AdvancedEnvironmentCtrl($scope, $rootScope, environmentService, tracker

$rootScope.notificationsUpdate = 'startEnvironmentAdvancedBuild';
}).error(function (error) {
ngDialog.closeAll();
if (error && error.ERROR === undefined) {
VARS_MODAL_ERROR(SweetAlert, 'Error: ' + error);
} else {
Expand Down Expand Up @@ -378,6 +379,7 @@ function AdvancedEnvironmentCtrl($scope, $rootScope, environmentService, tracker

$rootScope.notificationsUpdate = 'modifyEnvironmentAdv';
}).error(function (error) {
ngDialog.closeAll();
if (error && error.ERROR === undefined) {
VARS_MODAL_ERROR(SweetAlert, 'Error: ' + error);
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ function EnvironmentSimpleViewCtrl($scope, $rootScope, environmentService, track

$rootScope.notificationsUpdate = 'buildEnvironment';
}).error(function (error) {
ngDialog.closeAll();
if (error && error.ERROR === undefined) {
VARS_MODAL_ERROR(SweetAlert, 'Error: ' + error);
} else {
Expand Down Expand Up @@ -441,6 +442,7 @@ function EnvironmentSimpleViewCtrl($scope, $rootScope, environmentService, track
initScrollbar();
$rootScope.notificationsUpdate = 'modifyEnvironment';
}).error(function (error) {
ngDialog.closeAll();
if (error && error.ERROR === undefined) {
VARS_MODAL_ERROR(SweetAlert, 'Error: ' + error);
} else {
Expand Down

0 comments on commit 5ccd709

Please sign in to comment.