Commit 8b7191751b070a83149d1c07c544239ae2eee5cf

Authored by Luigi
1 parent c4a826fa48
Exists in master

Cambio boton "cancelar" por "salir"

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/js/controller.js
... ... @@ -122,7 +122,7 @@ angular.module('focaAbmChofer')
122 122 focaBotoneraLateralService.showPausar(true);
123 123 focaBotoneraLateralService.showCancelar(false);
124 124 focaBotoneraLateralService.showGuardar(true, $scope.guardar);
125   - focaBotoneraLateralService.addCustomButton('Cancelar', cancelar);
  125 + focaBotoneraLateralService.addCustomButton('Salir', salir);
126 126  
127 127 });
128 128  
... ... @@ -218,7 +218,7 @@ angular.module('focaAbmChofer')
218 218 });
219 219 }, true);
220 220  
221   - function cancelar() {
  221 + function salir() {
222 222 if ($scope.formChofer.$pristine == false) {
223 223 focaModalService.confirm(
224 224 '¿Está seguro de que desea salir? Se perderán todos los datos cargados.'