* Restore code.

This commit is contained in:
tianshujie
2022-01-18 11:21:49 +08:00
parent 93ef9baf9f
commit 1ebf1c4827
+8 -2
View File
@@ -103,8 +103,14 @@ $(function()
oldOpenedBuild = '';
oldTaskID = $('#oldTaskID').val() || 0;
loadExecutionRelated($('#execution').val());
if(parseInt($('#project').val()) && !parseInt($('#execution').val())) loadProjectTeamMembers($('#project').val());
if(parseInt($('#execution').val()))
{
loadExecutionRelated($('#execution').val());
}
else
{
if(parseInt($('#project').val())) loadProjectTeamMembers($('#project').val());
}
if(!assignedto) setTimeout(function(){setAssignedTo(moduleID, productID)}, 500);
notice();