Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dhruvalshah07 opened this issue May 8, 2019 · 0 comments
Open

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

dhruvalshah07 opened this issue May 8, 2019 · 0 comments

Comments

@dhruvalshah07
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant