H

XF.extendObject

  • Thread starter Thread starter Hoffi
  • Start date Start date
H

Hoffi

Guest

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...
 
Back
Top Bottom