From e5eccddbcfbe0dd8a746d9d6ecca2b64b8de4cfe Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Thu, 27 Jun 2024 13:37:03 +0800 Subject: [PATCH] * [task#121874,done,1h,0h] defind $roadmapItems. --- module/product/ui/browse.html.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module/product/ui/browse.html.php b/module/product/ui/browse.html.php index fd0c8cedaf..bf57dcde39 100644 --- a/module/product/ui/browse.html.php +++ b/module/product/ui/browse.html.php @@ -262,8 +262,9 @@ $fnGenerateFootToolbar = function() use ($lang, $product, $productID, $project, unset($plans[''], $lang->story->stageList[''], $users['']); /* Generate dropdown menu items for the DataTable footer toolbar.*/ - $planItems = $planItems ?? array(); - $gradeItems = array(); + $planItems = $planItems ?? array(); + $gradeItems = array(); + $roadmapItems = array(); foreach($lang->story->reviewResultList as $key => $result) $reviewResultItems[$key] = array('text' => $result, 'class' => 'batch-btn', 'data-formaction' => $this->createLink($isProjectStory ? 'projectstory' : $storyType, 'batchReview', "result=$key")); foreach($gradePairs as $key => $result) $gradeItems[] = array('text' => $result, 'class' => 'batch-btn', 'data-formaction' => $this->createLink($isProjectStory ? 'projectstory' : $storyType, 'batchChangeGrade', "result=$key")); foreach($lang->story->reasonList as $key => $reason) $reviewRejectItems[] = array('text' => $reason, 'class' => 'batch-btn', 'data-formaction' => $this->createLink($isProjectStory ? 'projectstory' : $storyType, 'batchReview', "result=reject&reason=$key"));