-
Notifications
You must be signed in to change notification settings - Fork 234
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
losing rating capability after ajax load #8
Comments
Having the same issue. Any guidance would be highly appreciated. |
Igor, |
Having The Same issue |
I resolved this problem like this $.fn.raty.defaults.path = "/assets"; then call applyRaty() in *.js.erb |
Let me first start by saying "Great gem".
On my page, I use your star rating but the user can click on a link to update a div element using ajax.
After the ajax load, all of the javascript for the star rating breaks.
I've been using the jquery "on" event for other javascript functions that I have created but I don't know how to use to fix the star rating.
How can I reload letsrate.js.erb and jquery.raty.js after an ajax load?
The text was updated successfully, but these errors were encountered: