At the moment, the user have to refresh/reload the page to see the current votes after he votes on an answer.
The idea is that the vote totals on all answers should be updated/refreshed in the background, when a user clicks to vote.
At the moment, the user have to refresh/reload the page to see the current votes after he votes on an answer.
The idea is that the vote totals on all answers should be updated/refreshed in the background, when a user clicks to vote.
Comments
Comment #1
japerryWith #1940644: Vote sum not displayed until page is refreshed fixed, it seems like this issue is fixed as well. Please verify with the latest release of the Q/A module.
Comment #2
ezra-g commentedAs a clarification: I think this is still active and not fixed by the referenced issue. #1940644 when completed should show the updated vote total without refreshing the page, but only after the user votes and only once.
Updating the issue title to be more clear.
Comment #3
japerryIf this was to be implimented, i can think of two possibilities, both having implications...
1) use a node.js system that pings back drupal when there is a change. Obviously we don't want to introduce that type of complexity to commons.
2) have the div auto-refresh every few seconds with updated data. I worry that this will cause issues with caching and performance if multiple people are on a page and this div is refreshing for everyone.