From 861d2658913662651dd0bd2bd5d1d6694ac7b68d Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 8 Sep 2012 14:32:43 -0300 Subject: [PATCH] - Fix MooDialog.Request.active is null --- wise-webapp/src/main/webapp/jsp/iframeWrapper.jsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); + } } });