Commit 0196b1ee6f7d8ccf400b69b1788862c616559625

Authored by Eric
1 parent 2e8fce4887
Exists in master

no global var

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/js/controller.js
... ... @@ -56,7 +56,7 @@ angular.module('focaCrearNotaPedido') .controller('notaPedidoCtrl',
56 56 if ($localStorage.notaPedido) {
57 57 $timeout(function() { getLSNotaPedido();} );
58 58 } else {
59   - for (property in parametros) {
  59 + for (var property in parametros) {
60 60 $scope.notaPedido[property] = parametros[property];
61 61 $scope.inicial[property] = parametros[property];
62 62 }