Commit 6b95661cdd8578b31192b255b8240209c07fb890
1 parent
ccf0901ea0
Exists in
master
ok modal-prompt
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -124,7 +124,11 @@ angular.module('focaAgendarVisita') |
| 124 | 124 | }; |
| 125 | 125 | $scope.seleccionarObservaciones = function() { |
| 126 | 126 | focaModalService |
| 127 | - .prompt('Ingrese observaciones', $scope.visita.observacion, true) | |
| 127 | + .prompt({ | |
| 128 | + titulo: 'Ingrese observaciones', | |
| 129 | + value: $scope.visita.observacion, | |
| 130 | + textarea: true | |
| 131 | + }) | |
| 128 | 132 | .then(function(observacion) { |
| 129 | 133 | $scope.visita.observacion = observacion; |
| 130 | 134 | }); |