Commit 7b348d3bbe23403bfd8b1576407e8c97a4ca1f95
Exists in
master
Merge branch 'master' into 'develop'
Master(efernandez) See merge request !44
Showing
1 changed file
Show diff stats
src/js/controllerCerrarVehiculo.js
| ... | ... | @@ -40,7 +40,11 @@ angular.module('focaLogisticaPedidoRuta') |
| 40 | 40 | }; |
| 41 | 41 | focaLogisticaPedidoRutaService.cerrarDistribuicion(cierreDistribuicion) |
| 42 | 42 | .then(function() { |
| 43 | - focaModalService.alert('Vehículo cerrado con éxito'); | |
| 43 | + focaModalService | |
| 44 | + .alert('Vehículo cerrado con éxito') | |
| 45 | + .then(function() { | |
| 46 | + $scope.cancelar(); | |
| 47 | + }); | |
| 44 | 48 | } |
| 45 | 49 | ); |
| 46 | 50 | }; |