Commit 28c80dd1409f7192b1fffdba4d410424d6c853cd
1 parent
c61f0efdba
Exists in
master
and in
1 other branch
correccion boton cancelar
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/service.js
... | ... | @@ -18,7 +18,7 @@ angular.module('focaBotoneraLateral') |
18 | 18 | }; |
19 | 19 | this.showCancelar = function(value, path) { |
20 | 20 | this.botones.cancelar = value; |
21 | - if(path) this.botones.pathCancelar = path; | |
21 | + this.botones.pathCancelar = (path) ? path : undefined; | |
22 | 22 | }; |
23 | 23 | this.showGuardar = function(value, funcion) { |
24 | 24 | this.botones.guardar = value; |