Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With the "Basic" fivestar theme, users must click the "Cancel Vote" button twice to effectively update the widget's display.
One click on the "X" only changes the description text "Your Rating" to "None." Average Vote and Total Votes continue to display old information (until the page is manually reloaded).
Two clicks on the "X" will finally blank all the stars, and clear the Average Vote, Total Votes, and Your Rating text (without a manual page reload).
Can send a link/login if necessary.
Comment | File | Size | Author |
---|---|---|---|
#2 | fivestar_cancel_update_average.patch | 1.52 KB | quicksketch |
Comments
Comment #1
quicksketchI'm able to reproduce this problem, but it only exhibits itself when displaying the stars as "average" or "user vote if available, average otherwise". It does not seem to affect the "dual" display or the "user vote" versions of the widget.
Comment #2
quicksketchThis patch should fix the problem. Some changes meant for the 2.x version had slipped into the Drupal 6 1.x version, breaking the return value after casting a new vote.