Commit 435fa7d1da1c3f2fc0d49861efdd2cc2f618fd05
1 parent
1848ead292
Exists in
master
se abre modal de busqueda de remitos para seguir cargando
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -252,8 +252,9 @@ angular.module('focaCrearHojaRuta') .controller('hojaRutaCtrl', |
252 | 252 | // $scope.hojaRuta.litros = $scope.hojaRuta.litros + litros; |
253 | 253 | $scope.cargarCisterna(remito.id).then(function() { |
254 | 254 | $scope.remitosTabla.push(remito); |
255 | + $scope.seleccionarRemitos(); | |
255 | 256 | }, function() { |
256 | - // funcion ejecutada cuando se cancela el modal | |
257 | + $scope.seleccionarRemitos(); | |
257 | 258 | }); |
258 | 259 | }, function() { |
259 | 260 | // funcion ejecutada cuando se cancela el modal |