Commit 0a10df0f75f20a219e760dbf081dc3cccbdc79ce
1 parent
4a427b1d
Exists in
master
[Redmine Atendimento #4559]
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js
| @@ -183,6 +183,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C | @@ -183,6 +183,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C | ||
| 183 | $scope.atualizarListaSizeSelectEnvolvido(); | 183 | $scope.atualizarListaSizeSelectEnvolvido(); |
| 184 | $scope.edit = edit; | 184 | $scope.edit = edit; |
| 185 | $scope.setCurrentStep(0); | 185 | $scope.setCurrentStep(0); |
| 186 | + $scope.stopTimerIntervalDraft($scope.workspace); | ||
| 186 | $scope.setLoading(false); | 187 | $scope.setLoading(false); |
| 187 | }); | 188 | }); |
| 188 | }; | 189 | }; |
cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js
| @@ -111,7 +111,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository | @@ -111,7 +111,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository | ||
| 111 | $scope.acaoEmMassaRecursosHumanos = false; | 111 | $scope.acaoEmMassaRecursosHumanos = false; |
| 112 | 112 | ||
| 113 | $scope.workspace.objetoScope = $scope.estudoTecnico; | 113 | $scope.workspace.objetoScope = $scope.estudoTecnico; |
| 114 | - $scope.startTimerIntervalSaveDraft($scope.workspace, true); | 114 | + $scope.startTimerIntervalSaveDraft($scope.workspace, null, true); |
| 115 | 115 | ||
| 116 | $scope.setCurrentStep(0); | 116 | $scope.setCurrentStep(0); |
| 117 | $scope.atualizarListaSizeSelectReqNegocio(); | 117 | $scope.atualizarListaSizeSelectReqNegocio(); |