From 06cc10fcda092d5267d4cdd9156f16c96e50f14f Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 10 Dec 2024 16:23:56 +0800 Subject: [PATCH] * [bug#57893,done,0.3h] set active. --- module/programplan/ui/gantt.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/ui/gantt.html.php b/module/programplan/ui/gantt.html.php index 4d6b69856f..134948d31a 100644 --- a/module/programplan/ui/gantt.html.php +++ b/module/programplan/ui/gantt.html.php @@ -23,7 +23,7 @@ if($app->rawModule == 'programplan') { $viewName = $productID != 0 ? zget($productList, $productID) : $lang->product->allProduct; $items = array(array('text' => $lang->product->allProduct, 'url' => $this->createLink('programplan', 'browse', "projectID=$projectID&productID=0&type=gantt"))); - foreach($productList as $key => $productName) $items[] = array('text' => $productName, 'url' => $this->createLink('programplan', 'browse', "projectID=$projectID&productID=$key&type=gantt")); + foreach($productList as $key => $productName) $items[] = array('text' => $productName, 'url' => $this->createLink('programplan', 'browse', "projectID=$projectID&productID=$key&type=gantt"), 'active' => $productID == $key); $productDropdown = dropdown ( btn(set::type('link'), setClass('no-underline'), $viewName),