* [bug#57561] fix bug for no product project.
This commit is contained in:
@@ -77,6 +77,10 @@ $().ready(function()
|
||||
loadProducts();
|
||||
})
|
||||
}
|
||||
if(hidden == 'hide')
|
||||
{
|
||||
loadSystem(currentProduct);
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user