Project

General

Profile

Feature #9819 » 9819v4.patch

Tolleiv Nietsch, 2010-12-21 20:38

View differences:

Resources/Private/Templates/Preview/Preview.html (working copy)
<script type="text/javascript">
document.domain = '{backendDomain}';
// @todo redirect to split module if this is opened standalone
parent.resize(document.height);
// @todo redirect to split module if this is opened standalone
parent.resize(
Math.max(
Math.max(document.body.scrollHeight, document.documentElement.scrollHeight),
Math.max(document.body.offsetHeight, document.documentElement.offsetHeight),
Math.max(document.body.clientHeight, document.documentElement.clientHeight)
)
);
</script>
(7-7/7)