Commit 669972d07c5419d422a914276929deccf097de27

Authored by Luigi
1 parent 501aacd590
Exists in master

Boton cancelar

Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
src/js/controllerDetalles.js
... ... @@ -144,10 +144,7 @@ angular.module('focaCrearHojaRuta')
144 144 };
145 145  
146 146 $scope.cancel = function () {
147   - var validarCisternas = validarArticulos();
148   - if (validarCisternas !== undefined) {
149   - $uibModalInstance.dismiss(null);
150   - }
  147 + $uibModalInstance.dismiss(null);
151 148 };
152 149  
153 150 function validarArticulos () {