diff --git a/ajax.php b/ajax.php index 99de1180ac..5f4fc8c22f 100644 --- a/ajax.php +++ b/ajax.php @@ -15,6 +15,7 @@ $_GET['ajax_request'] = 'true'; require_once 'libraries/common.inc.php'; $response = Response::getInstance(); +$response->setAJAX(true); if (empty($_POST['type'])) { Core::fatalError(__('Bad type!'));