Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
In 2.2 you can use:[CODE=javascript]$(document).on('ajax:complete', function(e, xhr, status) { const data = xhr.responseJSON;});[/CODE]In 2.3 you cannot access any params using:[CODE=javascript]XF.on(document, 'ajax:complete', e => { });[/CODE]Am I missing something?
In 2.2 you can use:
[CODE=javascript]$(document).on('ajax:complete', function(e, xhr, status) {
const data = xhr.responseJSON;
});[/CODE]
In 2.3 you cannot access any params using:
[CODE=javascript]XF.on(document, 'ajax:complete', e => {
Am I missing something?
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences