-
Notifications
You must be signed in to change notification settings - Fork 254
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
Update required to fix IE10 double click issue? #33
Comments
I agree with you, too, doing a project under IE - does not work. Author, please update gem. |
Solved the problem by redefining click for IE if (navigator.userAgent.indexOf("MSIE") > 0) |
@danko-master Thank you!!! Your tip saved me a ton of time. |
You are welcome!) |
Thx for this patch. Only a small modification, because this patch causes troubles in IE8 and IE9: auto upload does not start.
|
Thank you @danko-master and @nagyt234! For anyone having problems, just remember that you need to add the patch after you initialize the fileupload plugin. |
I don't understand where i have to put this patch. |
Dear @thimstr, you are initializing somewhere the fileupload plugin in javascript in a "document ready" block, and you should use the patch after it, e.g. in jQuery environment:
Note that $("#upload_upload") refers to the upload button, where the 'mousedown' event is to be converted to 'click' event in the case of MSIE10. I.e. 'upload_upload' is the HTML id of the button. @danko-master provided the similar example bit written in coffee-script. |
it worked, thanks! |
Hi @nagyt234, the patch to fix double click problem on IE10 causes the error "Script5: Access denied", that is thrown when calling data.submit(), in order to get the XHR object. Then, the upload request never starts. So, what i'm doing wrong? Can you help me, please? |
I have the same error "Script5: Access denied", can help me? |
This would be helpful for IE $(function(){ |
Please open a new issue if this still happens with 0.4.2. |
See blueimp/jQuery-File-Upload#1611
Symptoms: Clicking the add file button requires a double click in IE 10.
This issue is occurring for me when using this gem, but seems fixed in the main jquery-file-upload repo. Perhaps this gem needs updated?
Thanks
The text was updated successfully, but these errors were encountered: