From 4a427b1d1d11b16bd2be44f03dafc277f9f48cfd Mon Sep 17 00:00:00 2001 From: erick.sato Date: Mon, 18 Apr 2016 11:24:10 -0300 Subject: [PATCH] [Redmine Atendimento #4548]Edição rascunho --- cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js b/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js index 8444404..c546325 100644 --- a/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js +++ b/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js @@ -192,7 +192,8 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C if (rascunho) { $scope.contrato = rascunho; } - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.contrato); + $scope.workspace.objetoScope = $scope.contrato; + $scope.startTimerIntervalSaveDraft($scope.workspace); $scope.edit = true; $scope.setLoading(false); }; -- libgit2 0.21.2