Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"undefined" data-fields cause exceptions #82

Closed
warappa opened this Issue · 2 comments

2 participants

@warappa

Having a data-object with a "undefined" field causes a "Cannot read property 'name' of undefined" at

append: function (a, c, d, h)
        {
            this.items.push({
                name: a,
                blob: c && c.blob || c,
                file: d || c.name, // <- THIS LINE Uncaught TypeError: Cannot read property 'name' of undefined
                type: h || c.type
            })
        },

I think there must be an "undefined"-check: ignoring this field or sending an empty value (or something like this).

Lg
warappa

@RubaXa
Owner

Thank you!
Try a dev branch.

@warappa

It works! Thank you for the quick fix! :)

@RubaXa RubaXa closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.