* Fix feedback #2649.
This commit is contained in:
@@ -2863,7 +2863,7 @@ EOT;
|
||||
}
|
||||
|
||||
$tab = strpos(',doc,product,project,execution,', ",{$this->app->tab},") !== false ? $this->app->tab : 'doc';
|
||||
if($tab != 'doc') $this->loadModel($type)->setMenu($objectID);
|
||||
if($tab != 'doc' and method_exists($type . 'Model', 'setMenu')) $this->loadModel($type)->setMenu($objectID);
|
||||
|
||||
$this->lang->TRActions = $this->buildCollectButton4Doc();
|
||||
$this->lang->TRActions .= $this->buildCreateButton4Doc($type, $objectID, $libID);
|
||||
|
||||
Reference in New Issue
Block a user