This commit is contained in:
liyuchun
2021-09-08 08:52:38 +08:00
parent bcd78639b0
commit 302e3636da
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -13,6 +13,6 @@ $(function()
*/
function redirectParentWindow(hasLibPriv, libID)
{
var link = hasLibPriv ? createLink('doc', 'tableContents', 'type=book&objectID=0&libID=' + libID) : createLink('doc', 'tableContents', 'type=book');
var link = hasLibPriv ? createLink('doc', 'tableContents', 'type=' + libType + '&objectID=0&libID=' + libID) : createLink('doc', 'tableContents', 'type=' + libType);
parent.location.href = link;
}
+1
View File
@@ -80,4 +80,5 @@
</form>
</div>
<?php js::set('noticeAcl', $lang->doc->noticeAcl['lib']);?>
<?php js::set('libType', $lib->type);?>
<?php include '../../common/view/footer.lite.html.php';?>