From 74a0e649aac35938b92ff25f9a4b744d7b6775ec Mon Sep 17 00:00:00 2001 From: erick.sato Date: Thu, 14 Apr 2016 17:25:08 -0300 Subject: [PATCH] [Redmine Atendimento #4510]Modal List rascunho --- cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/ContratoController.js | 2 +- cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js | 2 +- cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js | 2 +- cit-contratos-web/src/main/webapp/html/contrato/contratoList.html | 8 ++------ 4 files changed, 5 insertions(+), 9 deletions(-) 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 e71fde2..7ea6ac2 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 @@ -117,7 +117,7 @@ citApp.controller('ContratoController', ['$scope', '$filter', 'FileUploader', 'C $scope.edit = true; $scope.setCurrentStep(0); - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.contrato); + $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.contrato, true); $timeout(function(){ $scope.contratoForm.informacoesGeraisContratoForm.$submitted = false; diff --git a/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js b/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js index 779353c..88aa261 100644 --- a/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js +++ b/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/EstudoTecnicoController.js @@ -111,7 +111,7 @@ citApp.controller('EstudoTecnicoController', ['$scope', 'EstudoTecnicoRepository $scope.acaoEmMassaRecursosHumanos = false; $scope.workspace.objetoScope = $scope.estudoTecnico; - $scope.startTimerIntervalSaveDraft($scope.workspace); + $scope.startTimerIntervalSaveDraft($scope.workspace, true); $scope.setCurrentStep(0); $scope.atualizarListaSizeSelectReqNegocio(); diff --git a/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js b/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js index efbfa4b..14ce156 100644 --- a/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js +++ b/cit-contratos-web/src/main/webapp/assets/js/angular/custom/controller/TermoReferenciaController.js @@ -236,7 +236,7 @@ citApp.controller('TermoReferenciaController', ['$scope', $scope.editSancao = false; $scope.step = 0; - $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.termoReferencia); + $scope.startTimerIntervalSaveDraft($scope.workspace , $scope.termoReferencia, true); $timeout(function(){ $scope.termoReferenciaForm.$submitted = false; diff --git a/cit-contratos-web/src/main/webapp/html/contrato/contratoList.html b/cit-contratos-web/src/main/webapp/html/contrato/contratoList.html index c66be98..fad7b2e 100644 --- a/cit-contratos-web/src/main/webapp/html/contrato/contratoList.html +++ b/cit-contratos-web/src/main/webapp/html/contrato/contratoList.html @@ -22,8 +22,8 @@ LABEL.EXPORTAR_CSV - - - \ No newline at end of file -- libgit2 0.21.2