Commit e6dbb247eec51f799d8a6ad2bceeee043002e57f

Authored by Nicolás Guarnieri
1 parent 6dcb83cd87
Exists in master

resolve transportista para modal proveedores

Showing 1 changed file with 8 additions and 2 deletions   Show diff stats
src/js/controller.js
... ... @@ -284,7 +284,12 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
284 284 ariaLabelledBy: 'Busqueda de Proveedor',
285 285 templateUrl: 'modal-proveedor.html',
286 286 controller: 'focaModalProveedorCtrl',
287   - size: 'lg'
  287 + size: 'lg',
  288 + resolve: {
  289 + transportista: function() {
  290 + return false;
  291 + }
  292 + }
288 293 }
289 294 );
290 295 modalInstance.result.then(
... ... @@ -578,7 +583,8 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
578 583 return;
579 584 }
580 585 $scope.mostrarTeclado = false;
581   - })
  586 + });
  587 +
582 588 $scope.selectFocus = function($event) {
583 589 // Si el teclado esta en uso no selecciona el valor
584 590 if($scope.mostrarTeclado) {