Commit d937bb0bedc255b8895d7eee58ceb3f216d224ea
1 parent
68d481eac1
Exists in
master
Fix resolve.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -243,7 +243,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl', |
| 243 | 243 | templateUrl: 'foca-modal-nota-pedido.html', |
| 244 | 244 | controller: 'focaModalNotaPedidoController', |
| 245 | 245 | size: 'lg', |
| 246 | - resolve: {usadoPor: 'notaPedido'} | |
| 246 | + resolve: {usadoPor: function(){return 'notaPedido';}} | |
| 247 | 247 | } |
| 248 | 248 | ); |
| 249 | 249 | modalInstance.result.then( |