mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
elofgren: Truly fix problem with overflow:hidden being applied to RecipientImportField? iframe by simply setting <body onload=""> and reverting changes in r38497
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41969 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
03f0b31f70
commit
31921fb25b
@ -18,13 +18,6 @@
|
|||||||
<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');
|
||||||
@ -32,7 +25,7 @@
|
|||||||
</script>
|
</script>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body onload="">
|
||||||
<% if ImportMessage %>
|
<% if ImportMessage %>
|
||||||
<p>
|
<p>
|
||||||
$ImportMessage
|
$ImportMessage
|
||||||
|
Loading…
Reference in New Issue
Block a user