RSS Feed/News javascript ajax:complete event does not have access to request/response

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
26,014
Points
823

Reputation:

The event ajax:complete triggered by AJAX calls appears to be significantly broken, as the response/data/error is undefined values despite the resulting event expecting that data.

Code:

Code:
                .finally(({
                    response,
                    data,
                    error,
                } = {}) =>
                {
                    if (global)
                    {
                        XF.trigger(document, 'xf:action-stop')
                    }...

Read more

Continue reading...
 
Status
Not open for further replies.
Top