From 5205cd07f4f44604fb063aaa1196cab5122433ec Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Tue, 8 Jan 2019 15:23:42 -0300 Subject: [PATCH] fuera cisternaCarga --- gulpfile.js | 2 +- src/js/controllerCisterna.js | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index bfa62fe..c1c9d21 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -40,7 +40,7 @@ gulp.task('uglify', ['templates'], function() { 'tmp/views.js' ]), concat('foca-abm-vehiculo.js'), - replace("['ngRoute', 'focaModal', 'ui.bootstrap']", '[]'), + replace("['ngRoute', 'focaModal', 'ui.bootstrap', 'focaBotoneraLateral']", '[]'), replace("src/views/", ''), gulp.dest(paths.tmp), rename('foca-abm-vehiculo.min.js'), diff --git a/src/js/controllerCisterna.js b/src/js/controllerCisterna.js index d82490d..afba5cf 100644 --- a/src/js/controllerCisterna.js +++ b/src/js/controllerCisterna.js @@ -6,11 +6,7 @@ angular.module('focaAbmVehiculo') focaModalService, focaBotoneraLateralService, $timeout, $window) { $scope.editar = false; $scope.now = new Date(); - $scope.cisterna = { - cisternaCarga: { - articulo: {} - } - }; + $scope.cisterna = {}; $scope.focused = 1; $scope.next = function(key) { @@ -63,7 +59,6 @@ angular.module('focaAbmVehiculo') validaCodigoCapacidad().then(function() { $scope.cisterna.idVehiculo = parseInt($routeParams.idVehiculo); delete $scope.cisterna.vehiculo; - delete $scope.cisterna.cisternaCarga.articulo; if($routeParams.idTemp != undefined) { //SI SE EDITA UNA CISTERNA LOCALMENTE -- 1.9.1