-
Notifications
You must be signed in to change notification settings - Fork 155
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
No additional data sent #6
Comments
+1 - this fix works for me as well. Perhaps a check for nil on both options.data and origOptions.data is needed? |
+1 Great fix, I was looking for it. Should be added to the actual plugin! |
+1 Yep, can't add additional options without this |
Finally applied :P. Thanks! |
Because of this fix there seems to be a problem with data that is added to the options in a beforeSend callback. options.data = $.extend({}, origOptions.data, options.data); There are still issues, as this does not reflect removing stuff from options.data in the beforeSend callback, but at least it does not ignore additional data which seems to be the more common use case. |
Hi!
I used this plugin with jquery 1.6.1, but when I upgraded to 1.7.1 the additional form data was not sent. With blind troubleshooting I found out that the additional data was not found in options.data, but it was in the origOptions.data. I fixed it by just adding:
to line 137.
The text was updated successfully, but these errors were encountered: