I use jQuery... function ajax(sId, sUrl){ $('#' + sId).load(sUrl); }
On 1 sep, 13:50, Gábor Fási <maerl...@gmail.com> wrote: > Correct - jquery, prototype, mootols - all major ones do. If you use > plain JS, you have to add it yourself. > > This is definitely not a symfony bug, if it only fails in ie8. > > On Wed, Sep 1, 2010 at 13:49, Benoit Montuelle > > <benoit.montue...@gmail.com> wrote: > > I think most javascript frameworks add this header to the request > > automatically, I don't know if its done using plain javascript. > > > I once had this issue using mootools but it was a bug in our JS code > > overwriting all http header instead of adding the needed one, and not a > > symfony bug. > > > Regards > > > -----Original Message----- > > From: Gábor Fási <maerl...@gmail.com> > > Sent: mercredi 1 septembre 2010 12:25 > > To: symfony-users@googlegroups.com > > Subject: Re: [symfony-users] Re: IE8 and isXmlHttpRequest > > > If you check the code of isXmlHttpRequest, you'll see it is very simple: > > > return ($this->getHttpHeader('X_REQUESTED_WITH') == 'XMLHttpRequest'); > > > So check if your javascript code sets that header, also check if it > > actually gets sent. > > > On Wed, Sep 1, 2010 at 12:11, HAUSa > > <jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > >> Yes, but is there someone who can reproduce this? > >> Seems like a Symfony bug...! > > >> On 31 aug, 20:33, Stéphane <stephane.er...@gmail.com> wrote: > >>> Compare the http request headers of the firefox's xhr over the ie8's one > > >>> Before Printing, Think about Your Environmental Responsibility! > >>> Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! > > >>> On Tue, Aug 31, 2010 at 8:20 PM, HAUSa < > > >>> jeroen_heeft_behoefte_aan_r...@hotmail.com> wrote: > >>> > In IE8, my isXmlHttpRequest function doesn't work. > >>> > In my template, I use <?php if(!$sf_request->isXmlHttpRequest()): ?> > >>> > to hide content if it is an AJAX call. > >>> > Firefox handles this okay, but IE8 shows the entire template, as well > >>> > as the complete layout again! > > >>> > How is this possible? Bug? > >>> > Anyone who knows a fix? > > >>> > -- > >>> > If you want to report a vulnerability issue on symfony, please send it > >>> > to > >>> > security at symfony-project.com > > >>> > You received this message because you are subscribed to the Google > >>> > Groups "symfony users" group. > >>> > To post to this group, send email to symfony-users@googlegroups.com > >>> > To unsubscribe from this group, send email to > >>> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > >>> > For more options, visit this group at > >>> >http://groups.google.com/group/symfony-users?hl=en > > >> -- > >> If you want to report a vulnerability issue on symfony, please send it to > >> security at symfony-project.com > > >> You received this message because you are subscribed to the Google > >> Groups "symfony users" group. > >> To post to this group, send email to symfony-users@googlegroups.com > >> To unsubscribe from this group, send email to > >> symfony-users+unsubscr...@googlegroups.com > >> For more options, visit this group at > >>http://groups.google.com/group/symfony-users?hl=en > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en > > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en