* Finish task #61441.

This commit is contained in:
zhouxudong
2022-07-21 01:29:57 +00:00
parent c637a40725
commit 1c4c282aee
3 changed files with 10 additions and 2 deletions
+4
View File
@@ -23,5 +23,9 @@ function goback(executionID)
kanbanData = $.parseJSON(data);
parent.updateKanban(kanbanData);
}
else
{
parent.location.reload();
}
});
}
+1 -1
View File
@@ -113,7 +113,7 @@
echo $batchCreateBugLink;
}?>
<?php if(($hasStoryButton or $hasBugButton) and $hasTaskButton) echo '<li class="divider"></li>';?>
<?php if($canImportBug) echo '<li>' . html::a(helper::createLink('execution', 'importBug', "execution=$execution->id", '', true), $lang->execution->importBug, '', "class='iframe'") . '</li>';?>
<?php if($canImportBug) echo '<li>' . html::a(helper::createLink('execution', 'importBug', "execution=$execution->id", '', true), $lang->execution->importBug, '', "class='iframe' data-width='90%'") . '</li>';?>
<?php endif;?>
<?php if($canCreateTask) echo '<li>' . html::a(helper::createLink('task', 'create', "execution=$execution->id", '', true), $lang->task->create, '', "class='iframe'") . '</li>';?>
<?php if($canBatchCreateTask) echo '<li>' . html::a(helper::createLink('task', 'batchCreate', "execution=$execution->id", '', true), $lang->execution->batchCreateTask, '', "class='iframe' data-width=90%") . '</li>';?>
+5 -1
View File
@@ -2083,7 +2083,11 @@ class task extends control
/* Get related objects id lists. */
$relatedStoryIdList = array();
foreach($tasks as $task) $relatedStoryIdList[$task->story] = $task->story;
foreach($tasks as $task)
{
$relatedStoryIdList[$task->story] = $task->story;
$relatedBugIdList[$task->fromBug] = $task->fromBug;
}
/* Get team for multiple task. */
$taskTeam = $this->dao->select('*')->from(TABLE_TEAM)