Closed (fixed)
Project:
Vote Up/Down
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
30 Mar 2009 at 05:23 UTC
Updated:
9 Oct 2014 at 13:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedI created a patch to fix the nid, please review.
Comment #2
lyricnz commentedPlease supply a simpletest demonstrating the failure happening, presumably fixed by the patch above.
Comment #3
lyricnz commentedI can confirm this issue - perhaps the original poster was unclear. A bug in the code means that the <span> doesn't contain the NID, which means that the Javascript can't find the element. See attached screenshot for problem.
Comment #4
Anonymous (not verified) commentedHere's a patch for the vote_up_down.test file so it also checks if proper nid was returned.
Comment #5
lyricnz commentedCode looks good, test too. Thanks!
Comment #6
lut4rp commentedFixed. Thanks!