* Fix bug#11837.

This commit is contained in:
leiyong
2021-04-08 04:09:17 +03:00
parent 0dc863da3a
commit 08305c6385

View File

@@ -517,16 +517,9 @@ class doc extends control
$objectID = $docLib->$type;
}
$openApp = $type == 'execution' ? 'execution' : 'doc';
$openApp = $type == 'execution' ? 'execution' : 'doc';
$browseLink = inLink('objectLibs', "type=$type&objectID=$objectID&libID=$libID&docID=$docID#app=$openApp");
if($type == 'execution')
{
die(js::locate($browseLink, 'parent'));
}
else
{
$this->locate($browseLink);
}
$this->locate($browseLink);
}
if($doc->contentType == 'markdown')