Commit 1a386eac38e7170064bcbbd8b3b5e4a4d07121a7
1 parent
d598f38eaa
Exists in
master
and in
2 other branches
cancel function dismiss
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -89,7 +89,7 @@ angular.module('focaModalDetalleCisternas') |
| 89 | 89 | }); |
| 90 | 90 | }; |
| 91 | 91 | $scope.cancelar = function() { |
| 92 | - $uibModalInstance.close(); | |
| 92 | + $uibModalInstance.dismiss(); | |
| 93 | 93 | }; |
| 94 | 94 | $scope.cargarACisternas = function() { |
| 95 | 95 | for(var i = 0; i < $scope.cisternas.length; i++) { |