Ajax requests use the JsonResponseHandler

Hi,

I made a modification for the current project im working on. When the request is via ajax you don't return the PrettyPage ouput in the json response. Totally up to you if you'd like to include it, but it was useful for me.

Regards