On a teaser list of nodes as is created by taxonomy module (/taxonomy/term/6) - when voting on a node in a teaser, other nodes in the list also change to the same value. suspect problem exists on any node list, not limited to a taxonomy created list.
The good news its only a display issue. If you refresh the browser after voting, the change was correctly saved, and other nodes refresh to their original value.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | updown-score-overwrites.patch | 1.35 KB | coltrane |
Comments
Comment #1
coltraneConfirmed, when there are multiple updown widgets on a page a vote for one alters the display of the others.
Comment #2
coltraneThe selectors in the js code were overwriting all scores. The attached patch redefines currentScore, voteElement, and voteUndoElement based on which anchor the event acts on. Patch applies only to updown.js. It assumes a certain markup structure, some documentation would be good for those implementing their own theme functions.
Comment #3
dmitrig01 commentedThanks! comitted with some of my own modifications