Commit 94093f1604131c6cde7b19dd3f17f4c59ad5cd52
Exists in
master
and in
1 other branch
Merge branch 'master' into 'master'
Master See merge request !4
Showing
1 changed file
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; |