Skip to content

Commit

Permalink
fixes #888 - modal now hides on save error
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Callens committed Dec 30, 2015
1 parent d076fe1 commit e9468dd
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -30,6 +30,7 @@
.error(function(error, status) {
$scope.errorMessage = error.message;
$scope.saving = false;
angular.element('#progress_modal').modal('hide');
});
};

Expand All @@ -51,6 +52,7 @@
.error(function(error, status) {
$scope.errorMessage = error.message;
$scope.saving = false;
angular.element('#progress_modal').modal('hide');
});
};

Expand Down

0 comments on commit e9468dd

Please sign in to comment.