Commit 1533a3c46e1c29463893798d6fc6a30cf3f22482
1 parent
4ac60d5622
Exists in
master
parametro btnAceptar
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -5,7 +5,7 @@ angular.module('focaModalLogin') |
| 5 | 5 | init(); |
| 6 | 6 | |
| 7 | 7 | function init() { |
| 8 | - console.info(parametros); | |
| 8 | + $scope.btnAceptar = parametros.btnAceptar; | |
| 9 | 9 | $scope.cuenta = parametros.cuenta; |
| 10 | 10 | $scope.usuario = { |
| 11 | 11 | login: '', |
| ... | ... | @@ -32,7 +32,7 @@ angular.module('focaModalLogin') |
| 32 | 32 | tipo: parametros.tipo, |
| 33 | 33 | id: parametros.cuenta.id |
| 34 | 34 | } |
| 35 | - } | |
| 35 | + }; | |
| 36 | 36 | |
| 37 | 37 | if (parametros.cuenta.idLogin) { |
| 38 | 38 | result.login.id = parametros.cuenta.idLogin; |
src/views/modal-login.html