Commit 9a5cba67d2e659d67433384539605eb343b2f0e4

Authored by Eric Fernandez
Exists in master

Merge branch 'master' into 'develop'

Master(efernandez)

See merge request !86
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 }