* Finish task#37299.

This commit is contained in:
leiyong
2021-04-09 06:01:18 +03:00
parent d6d855b9dc
commit 14dd2012cc
7 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class projectrelease extends control
$this->loadModel('release');
$this->loadModel('project');
$this->view->products = $this->products = $this->product->getProductPairsByProject($this->session->project);
if(empty($this->view->products)) $this->locate($this->createLink('product', 'create'));
if(empty($this->products) and !helper::isAjaxRequest()) die($this->locate($this->createLink('product', 'showErrorNone', 'moduleName=project&activeMenu=projectrelease&projectID=' . $this->session->project)));
}
/**