Commit 4a427b1d1d11b16bd2be44f03dafc277f9f48cfd
1 parent
0fdd56d3
Exists in
master
[Redmine Atendimento #4548]Edição rascunho
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js
... | ... | @@ -192,7 +192,8 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C |
192 | 192 | if (rascunho) { |
193 | 193 | $scope.contrato = rascunho; |
194 | 194 | } |
195 | - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.contrato); | |
195 | + $scope.workspace.objetoScope = $scope.contrato; | |
196 | + $scope.startTimerIntervalSaveDraft($scope.workspace); | |
196 | 197 | $scope.edit = true; |
197 | 198 | $scope.setLoading(false); |
198 | 199 | }; | ... | ... |