elofgren: Make RecipientImportField? iframe body be style.overflow = 'auto'; so that all messages can be seen after recipients are imported.

(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41968 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-15 22:00:16 +00:00
parent b7be0c523a
commit 03f0b31f70
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,13 @@
<script src="jsparty/prototype.js" type="text/javascript"></script>
<script src="jsparty/behaviour.js" type="text/javascript"></script>
<script src="cms/javascript/Newsletter_UploadForm.js" type="text/javascript"></script>
<script type="text/javascript">
// Make it possible to see all errors and messages
function fixOverflow() {
document.body.style.overflow = 'auto';
}
window.afteronload = fixOverflow;
</script>
<% if ImportMessage %>
<script type="text/javascript">
top.statusMessage('Imported new members','good');