This commit is contained in:
liuhong
2022-08-04 01:40:59 +00:00
parent 868ee2d3fe
commit b2f152d904
+1 -1
View File
@@ -28,9 +28,9 @@
<a href='javascript:;' class='btn btn-link btn-limit' data-toggle='dropdown'><span class='text' title='<?php echo $viewName;?>'><?php echo $viewName;?></span> <span class='caret'></span></a>
<ul class='dropdown-menu' style='max-height:240px; max-width: 300px; overflow-y:auto'>
<?php
$class = '';
foreach($productList as $key => $product)
{
$class = '';
$class = $productID == $key ? 'class="active"' : '';
echo "<li $class>" . html::a($this->createLink('programplan', 'create', "projectID=$project->id&productID=$key"), $product) . "</li>";
}