No javascript footer in AJAX requests.

This commit is contained in:
Michal Čihař
2011-01-28 10:29:47 +01:00
parent b2fa59876b
commit 701268fb57

View File

@@ -88,6 +88,7 @@ if (! empty($_SESSION['debug'])) {
$_SESSION['debug'] = array(); $_SESSION['debug'] = array();
} }
if (!$GLOBALS['is_ajax_request']) {
?> ?>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
@@ -162,6 +163,7 @@ if (window.parent.frame_content) {
//]]> //]]>
</script> </script>
<?php <?php
}
// Link to itself to replicate windows including frameset // Link to itself to replicate windows including frameset
if (!isset($GLOBALS['checked_special'])) { if (!isset($GLOBALS['checked_special'])) {