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

rating not refreshing #4

Open
jhender opened this issue Aug 16, 2011 · 0 comments
Open

rating not refreshing #4

jhender opened this issue Aug 16, 2011 · 0 comments

Comments

@jhender
Copy link

jhender commented Aug 16, 2011

Im on Rails 3.09, jquery 1.6

I followed your installation instructions, and this line is showing on the top of my applicaiton:

<script> $(document).ready(function(){ $(".ajaxful-rating a") .bind("ajax:success", function(status, data, xhr) { $('#' + data.id + ' .show-value').css('width', data.width + '%'); }); }); </script>

It appears when I include <%= ajaxful_rating_script %> into application.html.erb

I can rate, and it is saved, but the average_rating is not refreshing until I manually refresh the page.

Any help on this? Thanks.

Is it also okay if I use my existing version of jquery.min.js instead of the linked one?

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