Skip to content

Issue in Internet explorer for drag and drop file upload. #2

@dhruvalshah07

Description

@dhruvalshah07

Hello,
I have used this plugin in my website, and I got issue in drag and drop functionality for Internet explorer. It's working fine in other browser i.e. chrome, firefox, Edge.
I found issue is because of 'jquery.fileupload.js' file's below code

    _isXHRUpload: function (options) {
        var undef = 'undefined';
        return !options.forceIframeTransport &&
            typeof XMLHttpRequestUpload !== undef && typeof File !== undef &&
            (!options.multipart || typeof FormData !== undef);
    },

=> "typeof XMLHttpRequestUpload !== undef " when I removed this code then it worked fine for me.
Can anyone suggest what's the use of this code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions