* [bug#57561] fix bug for no product project.

This commit is contained in:
liyang
2024-11-28 15:45:02 +08:00
committed by 曹延义
parent 01c834513d
commit eb31257bcb
3 changed files with 7 additions and 0 deletions
+4
View File
@@ -77,6 +77,10 @@ $().ready(function()
loadProducts();
})
}
if(hidden == 'hide')
{
loadSystem(currentProduct);
}
});
/**
+2
View File
@@ -18,6 +18,8 @@ jsVar('projectID', $projectID);
jsVar('executionID', $executionID);
jsVar('today', helper::today());
jsVar('projectModel', isset($project->model) ? $project->model : '');
jsVar('currentProduct', $productID);
jsVar('hidden', $hidden);
$integratedRow = '';
if($app->tab == 'project' && !empty($multipleProject))
+1
View File
@@ -59,6 +59,7 @@ class buildZen extends build
$this->view->executions = $executions;
$this->view->lastBuild = $this->build->getLast($executionID, $projectID);
$this->view->project = $this->project->getByID($projectID);
$this->view->productID = $productID;
$this->display();
}