diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index de6cb2b703..826a4e39e7 100755 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -81,11 +81,11 @@ js::set('vision', $this->config->vision);
diff --git a/module/tree/model.php b/module/tree/model.php index 1f8c61c4c3..a783649493 100644 --- a/module/tree/model.php +++ b/module/tree/model.php @@ -430,6 +430,7 @@ class treeModel extends model $this->loadModel('branch'); $projectID = zget($extra, 'projectID', 0); + $projectModel = $this->dao->findByID($projectID)->from(TABLE_PROJECT)->fetch('model'); $branches = array($branch => ''); $executionModules = array(); if($branch and empty($projectID)) @@ -470,7 +471,7 @@ class treeModel extends model { $this->buildTree($treeMenu, $module, $type, $userFunc, $extra, $branch); } - elseif(isset($executionModules[$module->id]) || !empty($product->shadow)) + elseif(isset($executionModules[$module->id]) || !empty($product->shadow) || $projectModel == 'ipd') { $this->buildTree($treeMenu, $module, $type, $userFunc, $extra, $branch); }