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

Stopped working after jQuery updated to 3.1.1. #54

Open
niraj315 opened this issue Dec 12, 2016 · 2 comments
Open

Stopped working after jQuery updated to 3.1.1. #54

niraj315 opened this issue Dec 12, 2016 · 2 comments

Comments

@niraj315
Copy link

It was working beautifully. before I update jQuery, Just updating to jQuery version 3.1.1. it has broken.
when I click for upload it shows error :
TypeError: this.context is undefined
I checked jQuery.AjaxFileUpload.js is updated in my code.

@Zholaman
Copy link

Zholaman commented Feb 3, 2017

Yes, this plugin do not working with jQuery 3.1.1, we are getting this error :
TypeError: $(...).ajaxfileupload is not a function

@kurtjmeyoung
Copy link

kurtjmeyoung commented Jan 21, 2020

This issue can easily be fixed so that it works with jQuery 3.4.1. You just need to edit line 138 in the js file like following:
before:
$('#'+frame_id).load(function() {
after:
$('#'+frame_id).on('load', function() {

worked for me like a charm

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

3 participants