From 29b7e1856ef1e677fa4a1b83d56bac2e6c1cf437 Mon Sep 17 00:00:00 2001 From: Nakorn Rientrakrunchai Date: Sun, 16 Aug 2020 23:56:48 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=81=E0=B8=88=E0=B8=B2=E0=B8=81=20unit=20test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../eva_create_evaluation_detail_process_d.cshtml | 4 +++- .../eva_create_evaluation_detail_process_d2.cshtml | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d.cshtml b/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d.cshtml index 96beb6f..30fb257 100644 --- a/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d.cshtml +++ b/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d.cshtml @@ -431,7 +431,9 @@ return; } saveAll(); - eva_create_evaluation_detail_status_PutUpdate(s); + setTimeout(function() { + eva_create_evaluation_detail_status_PutUpdate(s); + }, 1000); } function saveAll(){ diff --git a/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d2.cshtml b/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d2.cshtml index 6b5e8e9..9053be9 100644 --- a/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d2.cshtml +++ b/Views/eva_create_evaluation_detail_processView/eva_create_evaluation_detail_process_d2.cshtml @@ -695,12 +695,13 @@ $("#count_absence_tad_processing_time_results").text(data.count_absence_tad_processing_time_results); $("#sum_day_sick_personal_leave").text(data.sum_day_sick_personal_leave); $("#count_sick_personal_leave").text(data.count_sick_personal_leave); - } function saveReview02(){ saveAll(); - eva_create_evaluation_detail_review02_PutUpdate(true); + setTimeout(function() { + eva_create_evaluation_detail_review02_PutUpdate(true); + }, 1000); } function saveReview03(){ @@ -720,7 +721,9 @@ return; } saveAll(); - eva_create_evaluation_detail_status_PutUpdate(s); + setTimeout(function() { + eva_create_evaluation_detail_status_PutUpdate(s); + }, 1000); } else if(s === "next3"){ if (!ValidateForm('eva_create_evaluation_detail_review03', eva_create_evaluation_detail_review03_customValidation))