+ add editor to product module.

+ add PO, QM, RM to product and project.
This commit is contained in:
wangchunsheng
2010-11-24 03:29:13 +00:00
parent 79aa8ae51e
commit 11c730dff5
15 changed files with 119 additions and 50 deletions
+2 -2
View File
@@ -118,10 +118,10 @@ class tree extends control
echo js::alert($this->lang->tree->successSave);
die(js::reload('parent'));
}
$module = $this->tree->getById($moduleID);
$module = $this->tree->getById($moduleID);
if($module->owner == null)
{
$module->owner = $this->loadModel('product')->getById($module->root)->bugOwner;
$module->owner = $this->loadModel('product')->getById($module->root)->QM;
}
$this->view->module = $module;
$this->view->optionMenu = $this->tree->getOptionMenu($this->view->module->root, $this->view->module->type);