From 2e00d650a3308f66d40b7a724cff22b6468ee1e0 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Mon, 2 Mar 2026 21:19:23 +0100 Subject: [PATCH] Fix data is undefined Signed-off-by: Liviu-Mihail Concioiu --- js/src/console.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/console.js b/js/src/console.js index 8049d3d546..e111032b1b 100644 --- a/js/src/console.js +++ b/js/src/console.js @@ -1152,7 +1152,7 @@ var ConsoleDebug = { initialize: function () { // Try to get debug info after every AJAX request $(document).on('ajaxSuccess', function (event, xhr, settings, data) { - if (data.debug) { + if (typeof data !== 'undefined' && data.debug) { ConsoleDebug.showLog(data.debug, settings.url); } });