* Add execution doc lib menu.

This commit is contained in:
tianshujie98
2021-04-09 16:20:17 +08:00
parent c33405683a
commit cb365dbfe7
3 changed files with 16 additions and 11 deletions
+2 -1
View File
@@ -215,7 +215,7 @@ class doc extends control
if(!dao::isError())
{
$objectType = $this->post->type;
if($objectType == 'execution' and $this->post->execution)
if($objectType == 'execution' and $this->post->execution and $this->config->systemMode == 'new')
{
$execution = $this->execution->getByID($this->post->execution);
$objectType = 'project';
@@ -1037,6 +1037,7 @@ class doc extends control
}
else if($type == 'execution')
{
$objectID = $this->execution->saveState($objectID, $objects);
$table = TABLE_EXECUTION;
$libs = $this->doc->getLibsByObject('execution', $objectID);