Pull-request: #20201 Fixes: #20141 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
933e5be2ef
@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user