Closed (duplicate)
Project:
Inline Ajax Search
Version:
6.x-3.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jan 2011 at 09:39 UTC
Updated:
3 May 2011 at 12:04 UTC
For Drupal 6.19 and inline_ajax_search-6.x-3.9:
Also, I use jQuery v1.4.2.
In includes/inline_ajax_search.inc:74
Had to change:
// return drupal_json(array('answer' => $ret));
To:
print json_encode(array('answer' => $ret));
exit;
exit() is optional, as it skips the Drupal footer at your own risk.
Nikolay.
Comments
Comment #1
fabianderijkComment #2
heine commentedSee #1086098: D6 JSON is total garbage - Create RFC 4627 compliant HTML safe JSON
Comment #3
fabianderijkThanks to Heine this seems to be duplicate for issue #1086098: D6 JSON is total garbage - Create RFC 4627 compliant HTML safe JSON