From fe1181b5312eff370d72c2afef93a5ca07085600 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 1 Feb 2022 21:47:50 +0100 Subject: [PATCH] AJAX routes: ensure to enable AJAX mode even if an error occured handling request --- src/includes/routes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/includes/routes.php b/src/includes/routes.php index 74792d81..bcd269d9 100644 --- a/src/includes/routes.php +++ b/src/includes/routes.php @@ -66,6 +66,7 @@ LSurl :: add_handler('#^ajax/keepLSsession/?$#', 'handle_ajax_keepLSsession', tr * @retval void **/ function handle_ajax($request) { + LSsession :: setAjaxDisplay(); $data = null; switch ($request -> type) { case 'class':