Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
A user who doesn't have javascript and votes will have the node page refreshed, and the message 'Thank you for your vote' is displayed to him.
There is a typo in the code that causes a JSON array of values to be displayed to the user instead. This can be fixed by changing this block of code:
if ($json = 'json') {
// This print statement will return results to jQuery's request.
to:
if ($json == 'json') {
// This print statement will return results to jQuery's request.
Comments
Comment #1
Chill35 CreditAttribution: Chill35 commentedThanks!
Comment #2
Chill35 CreditAttribution: Chill35 commentedFixed in 6.x-2.4.
Have a great day!
Comment #3
Chill35 CreditAttribution: Chill35 commentedComment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.