Active
Project:
Content Construction Kit (CCK)
Version:
6.x-2.6
Component:
userreference.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2010 at 23:13 UTC
Updated:
28 Mar 2010 at 23:13 UTC
We removed the DIV's around the $matches variable:
$matches[$row['title']] = '
';
changed to:
$matches[$row['title']] = $row['rendered'];
and no longer get the HTML Error 0 (shows an error popup with badly formatted autocomplete results) in at least Chrome Frame, Firefox 3.5 and Safari 4.0.
I've attached a patch file with the suggested change. I've not been able to find anywhere that indicates why the $match values are wrapped in DIVs.
| Comment | File | Size | Author |
|---|---|---|---|
| userref-JSON-removeDIVS.patch | 594 bytes | whayes |