Make something amazing, for anyone, at DrupalCon. Standard prices end on August 26.
I have checked the issue queue but haven't found anything like this. Sorry if I missed it.
It would be great to provide a feedback to a user that his vote is being saved. Something like "Thanks for your vote!" shown next to a voting widget would be just great.
Actually I have hacked the 5.x-1.10 version of this module, but the site I use this hacked version is not live yet so I cannot provide a link. Plus, it was quick and dirty and most likely made in a wrong way. :-(
Anyway, this could be as simple as a tiny addition in the jquery.rating.js file, in the
$stars.click function. Something like
$('fivestar-confirm-widget').slideDown("slow"); and in the
fivestarDefaultResult we could have something like
'fivestar-confirm-widget' could be:
<div id="fivestar-confirm-widget">Thanks for your vote!</div>
This way the confirmation text would be visible for at least 1 second and no longer than a second after the vote was saved. It could be extended even more like this:
$('fivestar-confirm-widget').html('Your vote has been saved.'); setTimeout("$('fivestar-confirm-widget').slideDown("slow");", 1000);