Commit 895c374da47491e6e2c7b6cbd19f1e60849f5e25
1 parent
dab5639e5d
Exists in
master
and in
1 other branch
ok modal-prompt
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -151,8 +151,10 @@ angular.module('focaModalFactura') |
| 151 | 151 | |
| 152 | 152 | $scope.enviarMail = function(factura) { |
| 153 | 153 | focaModalService |
| 154 | - .prompt('Ingrese los emails separados por coma para enviar comprobante', | |
| 155 | - factura.cliente.MAIL) | |
| 154 | + .prompt({ | |
| 155 | + titulo: 'Ingrese los emails separados por coma para enviar comprobante', | |
| 156 | + value: factura.cliente.MAIL | |
| 157 | + }) | |
| 156 | 158 | .then(function(res) { |
| 157 | 159 | return focaModalFacturaService.enviarFacturaPorMail(res, factura); |
| 158 | 160 | }) |