Closed (fixed)
Project:
Fivestar
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jun 2009 at 15:00 UTC
Updated:
1 Oct 2009 at 04:42 UTC
Using the custom color "Basic" fivestar theme, the star display and description text update immediately once the user clicks on a star, but if they navigate away from the page they voted on and use the browser's "Back" button to return, the stars will remain unchanged as if they had not voted. However, the description text remains updated with the most up-to-date information, despite the lack of stars.
Hitting refresh at this point corrects the star display, but shouldn't be a necessary step. Could someone comment on this?
Attachment A: Vote, Navigate Away, Hit "Back" Button
Attachment B: Initial Vote / Vote, Navigate Away, Hit "Back" Button, Hit "Refresh" Button
| Comment | File | Size | Author |
|---|---|---|---|
| B - Correct Display | 5.23 KB | amaisano | |
| A - Glitch | 5.16 KB | amaisano |
Comments
Comment #1
amaisano commentedComment #2
amaisano commentedComment #3
quicksketchThere's nothing that can be done to correct this, it's a browser caching issue. When you hit the back button, it loads the original HTML from the cache, not the modified HTML after Fivestar updated the page via JavaScript. This problem will only exhibit itself in some browsers though, since a browser like Firefox will show the modified page when using the back button just fine.
Comment #4
quicksketch