layout.phtml: Add hidden iframe for non-xhr file uploads

refs #8758
This commit is contained in:
Johannes Meyer 2015-07-20 10:14:55 +02:00
parent 95bcb95cb5
commit be88683c19
2 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,7 @@ $iframeClass = $isIframe ? ' iframe' : '';
<div id="layout" class="default-layout<?php if ($showFullscreen): ?> fullscreen-layout<?php endif ?>">
<?= $this->render('body.phtml') ?>
</div>
<iframe id="fileupload-frame-target" name="fileupload-frame-target"></iframe>
<!--[if IE 8]>
<script type="text/javascript" src="<?= $this->href($ie8jsfile) ?>"></script>
<![endif]-->

View File

@ -47,6 +47,10 @@ html {
}
}
#fileupload-frame-target {
display: none;
}
#responsive-debug {
font-size: 0.9em;
font-family: Courier new, monospace;