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); }