Skip to content

Commit

Permalink
iframe: Load JavaScript even when 'isIframe' is true
Browse files Browse the repository at this point in the history
  • Loading branch information
lippserd committed Oct 20, 2014
1 parent a2e1663 commit 53608c8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions application/layouts/scripts/layout.phtml
Expand Up @@ -52,7 +52,6 @@ $iframeClass = $isIframe ? ' iframe' : '';
<div id="layout" class="default-layout">
<?= $this->render('body.phtml') ?>
</div>
<?php if (! $isIframe): ?>
<!--[if IE 8]>
<script type="text/javascript" src="<?= $this->href($ie8jsfile) ?>"></script>
<![endif]-->
Expand All @@ -64,6 +63,5 @@ var icinga = new Icinga({
baseUrl: '<?= $this->href('/') ?>'
});
</script>
<?php endif ?>
</body>
</html>

0 comments on commit 53608c8

Please sign in to comment.