* [bug#50437,done,0.1h] check the execution exists.

This commit is contained in:
liumengyi
2024-06-05 14:17:28 +08:00
parent 8291b7b0a9
commit 2acfab91cf
+1 -1
View File
@@ -22,7 +22,7 @@ $(document).on('click', '#toTaskButton', function()
if(isInModal) zui.Modal.hide();
const url = $.createLink('task', 'create', 'executionID=' + executionID + '&storyID=0&moduleID=0&taskID=0&todoID=0&extra=projectID=' + projectID + '&bugID=' + bugID);
openPage(url, executions[executionID].indexOf(disableExecution) >= 0 ? 'project' : 'execution');
openPage(url, executions[executionID] != undefined && executions[executionID].indexOf(disableExecution) >= 0 ? 'project' : 'execution');
}
else if(projectID == 0)
{