Hi,

although I've enabled the "Allow users to undo their votes" option there is no (obvious) possibility to undo the vote. Unlike the previous version there is no button (the little stop sign) displayed to undo the vote.

thx

CommentFileSizeAuthor
#3 fivestar.module.patch602 bytesCrashtest

Comments

vm’s picture

I can confirm this one as well, while a user can change their vote there seems to be no way for the user to revoke their vote.

nvoyageur’s picture

Same here. Even when selecting "Allow users to undo their votes", it still provides no visible way of undoing the vote.

Also, When using the "Two sets of stars" view of the rating, the "Current rating stars don't update when a vote is cast." It does automagically update when using the default "Stars and average."

Thanks for the great module.

Crashtest’s picture

Status: Active » Needs review
StatusFileSize
new602 bytes

Hi,

I was so free to patch this issue.
But because I have not much experience on drupal developing please review this patch first although it is really a small change.

thx

P.S.: I hope the patch file has the right format.

vm’s picture

Priority: Normal » Critical

applied patch and expected behavior has been returned. Users can now clear their votes.

marked as critical: since expected behavior isn't achived prior to patch being applied.

Thanks for the work crashtest.

quicksketch’s picture

Status: Needs review » Fixed

Thanks for the patch! I changed !empty() to !isset(), effectively the same as your patch. Please try out the latest cvs or development version in 5.x. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)