Commit e96409a37d0b9963d191c18f058819abe2566ece
1 parent
af72ab50
Exists in
master
[Redmine Atendimento #4863] Rascunho
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
cit-almoxarifado-web/src/main/webapp/assets/js/angular/custom/controller/EntradaAlmoxarifadoController.js
... | ... | @@ -41,7 +41,8 @@ citApp.controller('EntradaAlmoxarifadoController', ['$scope', '$filter', 'FileUp |
41 | 41 | $scope.atualizarListaSizeSelectEntradaItem(); |
42 | 42 | $scope.edit = true; |
43 | 43 | |
44 | - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.entradaAlmoxarifado, true); | |
44 | + $scope.workspace.objetoScope = $scope.entradaAlmoxarifado; | |
45 | + $scope.startTimerIntervalSaveDraft($scope.workspace, null, true); | |
45 | 46 | |
46 | 47 | $timeout(function(){ |
47 | 48 | $scope.entradaAlmoxarifadoForm.$submitted = false; | ... | ... |