* Fix copy execution drop-down interaction.

This commit is contained in:
tianshujie
2023-08-30 09:25:15 +08:00
parent 7ff2958a75
commit e2be279830
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -115,8 +115,8 @@ $(document).on('change', '#end', function(e)
*/
function loadProjectExecutions(projectID)
{
projectID = parseInt(projectID) ? projectID : $(this).val();
$('#copyExecutions').load($.createLink('execution', 'ajaxGetCopyProjectExecutions', 'projectID=' + projectID + '&copyExecutionID=' + copyExecutionID));
projectID = parseInt(projectID) ? projectID : $('#copyExecutionModal input[name=project]').val();
loadTarget($.createLink('execution', 'ajaxGetCopyProjectExecutions', 'projectID=' + projectID + '&copyExecutionID=' + copyExecutionID), '#copyExecutions');
}
$(document).off('click', '#copyExecutions button.execution-block').on('click', '#copyExecutions button.execution-block', function(e)
+1 -1
View File
@@ -296,8 +296,8 @@ formPanel
(
set::width('1/2'),
set::label($lang->execution->projectName),
set::required(true),
picker(
set::required(true),
setID('project'),
set::name('project'),
set::items($allProjects),