Updated Workspaces and Version extension to version 4.5.0beta3. See their ChangeLog...
[Packages/TYPO3.CMS.git] / typo3 / sysext / workspaces / Resources / Private / Templates / Preview / Preview.html
1 <script type="text/javascript">
2 document.domain = '{backendDomain}';
3
4 // @todo redirect to split module if this is opened standalone
5
6 // make sure we're in the workspace preview module
7 if (typeof parent.resize == 'function') {
8 parent.resize(
9 Math.max(
10 Math.max(document.body.scrollHeight, document.documentElement.scrollHeight),
11 Math.max(document.body.offsetHeight, document.documentElement.offsetHeight),
12 Math.max(document.body.clientHeight, document.documentElement.clientHeight)
13 )
14 );
15
16 var element = document.getElementById('typo3-previewInfo');
17 element.parentNode.removeChild(element);
18 }
19 </script>