RSS Feed/News XF.extendObject

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
25,432
Points
823

Reputation:

Im just back into coding and upgrading my projects and starting to remove jQuery (Yeah, good!)

But I am stuck into extending an existing object.

This does not work, whats my mistake?

JavaScript:

Code:
    var a = XF.extendObject(XF.AssetUpload, {
        __backup: {
            "ajaxResponse": "_afterAjaxResponseCv6Core"
        },
        ajaxResponse: function (data) {
            console.log("Ajax");
            this._afterAjaxResponseCv6Core(data);
            if (data.path) {...

Read more

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