From 94f43f04e83fe5a13effcd31bde7bb016e60f005 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Mon, 30 Jan 2023 17:13:30 +0800 Subject: [PATCH] * Fix bug of copy execution. --- module/execution/js/create.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module/execution/js/create.js b/module/execution/js/create.js index eb05952139..b3f027e5cb 100644 --- a/module/execution/js/create.js +++ b/module/execution/js/create.js @@ -223,15 +223,15 @@ function subString(title, stringLength) */ function loadProjectExecutions(projectID) { - $.get(createLink('execution', 'ajaxGetCopyProjectExecutions', 'projectID=' + projectID + '&$copyExecutionID' + copyExecutionID), function(data) + $.get(createLink('execution', 'ajaxGetCopyProjectExecutions', 'projectID=' + projectID), function(data) { if(data != '[]') { - $('.alert').replaceWith("
"); + $('#copyProjectModal .alert').replaceWith("
"); $("#copyProjects > div[data-id != '']").remove(); $(".model-body").remove(); var data = JSON.parse(data); - if(copyExecutionID != 0 ) + if(copyExecutionID != 0) { $('#copyProjects').append(""); }