Solved ajax:complete not passing JSON params set from controller using setJsonParams

This topic has been solved
S

Siropu

Guest
In 2.2 you can use:

JavaScript:

Code:
$(document).on('ajax:complete', function(e, xhr, status) {
    const data = xhr.responseJSON;
});

In 2.3 you cannot access any params using:

JavaScript:

Code:
XF.on(document, 'ajax:complete', e => {
    
});

Am I missing something?

Continue reading...