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),