Commit 025d712e32b912a2be88557eec4fd35ecb84c95c

Authored by Eric Fernandez
Exists in master and in 1 other branch develop

Merge branch 'master' into 'master'

Master

See merge request !23
src/js/controller.js
... ... @@ -11,6 +11,8 @@ angular.module('focaAbmVehiculo')
11 11 image: 'cliente.png'
12 12 }];
13 13  
  14 + focaAbmVehiculoService.cleanCisternas();
  15 +
14 16 //SETEO BOTONERA LATERAL
15 17 focaBotoneraLateralService.showSalir(false);
16 18 focaBotoneraLateralService.showPausar(false);
... ... @@ -45,6 +45,9 @@ angular.module('focaAbmVehiculo')
45 45 deleteCisterna: function(idx) {
46 46 cisternas[idx].desactivado = true;
47 47 },
  48 + cleanCisternas: function() {
  49 + cisternas = [];
  50 + },
48 51 getVehiculosPorTransportista: function(id) {
49 52 return $http.get(API_ENDPOINT.URL + '/vehiculo/transportista/' + id);
50 53 },