* Modify delete lib locate.

This commit is contained in:
caoyanyi
2023-03-29 10:08:41 +08:00
parent 5c37a73df8
commit 95fcd8f2fc
+1
View File
@@ -322,6 +322,7 @@ class doc extends control
unset($_GET['onlybody']);
return print(js::locate($this->createLink('doc', 'objectLibs', 'type=book'), 'parent.parent'));
}
if($this->app->tab == 'doc' and $from == 'tableContents') return print(js::reload('parent'));
$objectType = $lib->type;
$objectID = strpos(',product,project,execution,', ",$objectType,") !== false ? $lib->{$objectType} : 0;