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

Additional-Methods.js uses $ for jQuery instead of jQuery in three functions #839

Closed
ryanwhiting opened this issue Aug 6, 2013 · 1 comment

Comments

@ryanwhiting
Copy link

Inside of the functions listed below, the $ is used instead of jQuery. This has caused me some problems on my site.

jQuery.validator.addMethod("skip_or_fill_minimum"
jQuery.validator.addMethod("require_from_group"
jQuery.validator.addMethod("accept"

By replacing the $( with jQuery( I was able to get the plugin working. I'm pretty new to all of this, so it could just be a problem on my end with all the plugins that I am using at the same time, but I think this is a bug.

It can be fixed just by doing find/replace.

Hope I was helpful,

Ryan

@jzaefferer
Copy link
Collaborator

Thanks! I fixed two of those. The accept method didn't use $(, it just has the dollar sign as part of a regex.

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

2 participants