This won't work if you have in attribute " character which will break JSON output. Instead drupal_to_js($output); should be used on line 273.. Also rest of code (uc_aac_json) can be removed.
This won't work if you have in attribute " character which will break JSON output. Instead drupal_to_js($output); should be used on line 273.. Also rest of code (uc_aac_json) can be removed.
Comments
Comment #1
cyu commentedAh...thank you. I have seen drupal_to_js used elsewhere but did not realize it was basically the same as json_encode with some extra escaping. Committed: http://drupal.org/cvs?commit=124509
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.