Commit 501aacd590c31cda619cd5b6e22a33602c37350f

Authored by Luigi
1 parent af69bf858e
Exists in master

Revert "Boton cancelar"

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