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

$.fn.val.call([el]) breaks other jQuery plugins #131

Open
iamnoah opened this issue May 29, 2012 · 0 comments
Open

$.fn.val.call([el]) breaks other jQuery plugins #131

iamnoah opened this issue May 29, 2012 · 0 comments

Comments

@iamnoah
Copy link
Contributor

iamnoah commented May 29, 2012

The 3.2.2 form_params plugin, line 116, uses this:

$.fn.val.call([el])

Because the array is not a jQuery object, it breaks other plugins (e.g., tinymce) that override val and expect a jQuery object. Changing it to:

$(el).val()

fixes the problem.

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