- Fix MooDialog.Request.active is null

This commit is contained in:
Paulo Gustavo Veiga 2012-09-08 14:32:43 -03:00
parent 0b0cb960f7
commit 861d265891

View File

@ -28,7 +28,9 @@
$('download').setAttribute('value', context.formatType); $('download').setAttribute('value', context.formatType);
iframeForm.submit(); iframeForm.submit();
} }
MooDialog.Request.active.close(); if (MooDialog.Request.active) {
MooDialog.Request.active.close();
}
} }
}); });