From 6e9ba532babff30a69ccf8796b6c682135d35337 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Wed, 27 Jul 2022 16:20:21 +0800 Subject: [PATCH] * Fix bug #25743. --- module/doc/js/selectlibtype.js | 1 + 1 file changed, 1 insertion(+) diff --git a/module/doc/js/selectlibtype.js b/module/doc/js/selectlibtype.js index 02393b4e56..79f8803cba 100644 --- a/module/doc/js/selectlibtype.js +++ b/module/doc/js/selectlibtype.js @@ -18,6 +18,7 @@ function redirectParentWindow(objectType, libID, docType) { var link = createLink('doc', 'create', 'objectType=' + objectType + '&objectID=0&libID=' + libID + '&moduleID=0&docType=' + docType + '&fromGlobal=true') + '#app=doc'; } + window.parent.$.apps.close('doc'); window.parent.$.apps.open(link); }