Commit 2711adb43acb4bfe34ba97144c1084ff6fa99126
1 parent
e7825aeda7
Exists in
master
and in
1 other branch
Cambio boton "cancelar" por "salir"
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/controller.js
... | ... | @@ -107,7 +107,7 @@ angular.module('focaAbmVehiculo') |
107 | 107 | focaBotoneraLateralService.showPausar(true); |
108 | 108 | focaBotoneraLateralService.showCancelar(false); |
109 | 109 | focaBotoneraLateralService.showGuardar(true, $scope.guardar); |
110 | - focaBotoneraLateralService.addCustomButton('Cancelar', cancelar); | |
110 | + focaBotoneraLateralService.addCustomButton('Salir', salir); | |
111 | 111 | }); |
112 | 112 | |
113 | 113 | $timeout(function() {getLSVehiculo();}); |
... | ... | @@ -153,7 +153,7 @@ angular.module('focaAbmVehiculo') |
153 | 153 | if (key === 13) $scope.focused++; |
154 | 154 | }; |
155 | 155 | |
156 | - function cancelar() { | |
156 | + function salir() { | |
157 | 157 | if (!$scope.formVehiculo.$pristine) { |
158 | 158 | focaModalService.confirm( |
159 | 159 | '¿Está seguro de que desea salir? Se perderán todos los datos cargados.' |