Yes js is enabled because the Ajax call actually works and data is returned. However, not only is the action template rendered but the layout is also rendered.
Steven On Jul 24, 6:56 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Jul 24, 12:17 pm, Steven Chan <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > Using Cake1.2alpha on XAMPP. For some reason, when I do an Ajax Call > > using the Ajax helper (form that automatically update a div) the > > HTTP_X_REQUESTED_WITH header is not set and therefore the > > RequestHandler::isAjax() method always returns false. > > Lame though the question may be, do you have js enabled and/are you > getting a js error? > > The prototype lib itself adds (or should add) that header. > > hth, > > AD --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
