diff --git a/wise-webapp/src/main/webapp/jsp/iframeWrapper.jsp b/wise-webapp/src/main/webapp/jsp/iframeWrapper.jsp index 4b3d637b..e86b08c1 100644 --- a/wise-webapp/src/main/webapp/jsp/iframeWrapper.jsp +++ b/wise-webapp/src/main/webapp/jsp/iframeWrapper.jsp @@ -28,7 +28,9 @@ $('download').setAttribute('value', context.formatType); iframeForm.submit(); } - MooDialog.Request.active.close(); + if (MooDialog.Request.active) { + MooDialog.Request.active.close(); + } } });