mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
b7be0c523a
commit
03f0b31f70
@ -18,6 +18,13 @@
|
|||||||
<script src="jsparty/prototype.js" type="text/javascript"></script>
|
<script src="jsparty/prototype.js" type="text/javascript"></script>
|
||||||
<script src="jsparty/behaviour.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 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 %>
|
<% if ImportMessage %>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
top.statusMessage('Imported new members','good');
|
top.statusMessage('Imported new members','good');
|
||||||
|
Loading…
Reference in New Issue
Block a user