aboutsummaryrefslogtreecommitdiff
path: root/app/layout
diff options
context:
space:
mode:
Diffstat (limited to 'app/layout')
-rw-r--r--app/layout/layout.phtml6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 1d41cc690..e0519960e 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -47,8 +47,10 @@ if (_t('gen.dir') === 'rtl') {
</head>
<body class="<?= Minz_Request::actionName() ?>">
<?php
- flush();
- $this->partial('header');
+ if (!Minz_Request::param('ajax')) {
+ flush();
+ $this->partial('header');
+ }
?>
<div id="global">