autocomplete conflict with additional output from devel.module
gpk - August 13, 2009 - 16:06
| Project: | Masquerade |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
If you ask devel to output querylog or page generation time or mem usage then it adds stuff to the page that gets added to the AJAX callback for the autocomplete box in the masquerade block.
The only related devel issues I can find are:
#123951: put querylog before </body> in DOM and properly place the querylog for AHAH requests
#284307: When Display setting is activated, AHAH requests are broken
also #328223: Docs: Certain settings can lead to JavaScript errors which references an update to the README ... which includes a workaround for modules under "compatibility notes" ... http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/devel/READM...

#1
Weird - I can't seem to replicate this on the latest -dev version, but AFAICT it should be showing itself. I've attached a patch which changes the call to drupal_json() so we set the HTTP header properly, as well as set the proper variable for devel.
#2
I've committed this to the 6.x-1.x-dev branch.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.