iframe: Load JavaScript even when 'isIframe' is true
This commit is contained in:
parent
a2e1663e34
commit
53608c83d0
|
@ -52,7 +52,6 @@ $iframeClass = $isIframe ? ' iframe' : '';
|
||||||
<div id="layout" class="default-layout">
|
<div id="layout" class="default-layout">
|
||||||
<?= $this->render('body.phtml') ?>
|
<?= $this->render('body.phtml') ?>
|
||||||
</div>
|
</div>
|
||||||
<?php if (! $isIframe): ?>
|
|
||||||
<!--[if IE 8]>
|
<!--[if IE 8]>
|
||||||
<script type="text/javascript" src="<?= $this->href($ie8jsfile) ?>"></script>
|
<script type="text/javascript" src="<?= $this->href($ie8jsfile) ?>"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
@ -64,6 +63,5 @@ var icinga = new Icinga({
|
||||||
baseUrl: '<?= $this->href('/') ?>'
|
baseUrl: '<?= $this->href('/') ?>'
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<?php endif ?>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue