This commit is contained in:
hufangzhou
2023-09-08 06:22:10 +00:00
parent fb891f7b1c
commit f3bad46b24
+1 -1
View File
@@ -1156,7 +1156,7 @@ class doc extends control
$objectType = isset($lib->type) ? $lib->type : 'custom';
$type = $objectType == 'execution' && $this->app->tab != 'execution' ? 'project' : $objectType;
$objectID = zget($doc, $type, 0);
$this->lang->doc->menu->custom['alias'] = 'teamspace,view';
if($objectType == 'custom') $this->lang->doc->menu->custom['alias'] = 'teamspace,view';
list($libs, $libID, $object, $objectID, $objectDropdown) = $this->doc->setMenuByType($type, $objectID, $doc->lib, $appendLib);
/* Get doc. */