| Previous · Next | |
| User | Message |
|
perlmonkey2
|
Date: 4/24/2009 6:44 pm · Subject: Debug mode and AJAX · Rating: 0
You create your nice little JSON message to respond to the AJAX request, but then boom, ErrorHandler appends a bunch of debug info as HTML to your JSON, which is just plain rude.
We need a way for the request handler to make sure that debug info is not appended to JSON response. Survey, Thingy and I'm sure anything else which uses AJAX breaks in debug mode. |
| Back to Top |
Rate [ | ]
|
|
JT
|
Date: 4/24/2009 7:35 pm · Subject: Re: Debug mode and AJAX · Rating: 0
You then haven't set your mime type correctly. If you set it to application/json it will not send debug. JT On Apr 24, 2009, at 7:44 PM, <kaleb@plainblack.com> wrote: perlmonkey2 wrote:
|
| Back to Top |
Rate [ | ]
|