#1103 new
Markus List

Ajax.Updater not working in IE 8

Reported by Markus List | July 27th, 2010 @ 09:25 AM

Hi,

I am a web application developer and I am using GRAILS together with Prototype 1.6.1. I found out that Ajax.Updater is not working in IE 8 at all (and also IE 6). There is no java script error. The request is processed properly by the server. A response is created leading to a HTML 200 code, but the update is not performed. I found a way to get the Ajax.Updater running on IE 8 when I accidentially broke Prototype's code:

var Ajax = {
getTransport: function() {

return Try.these(
  function() {return new ActiveXObject('Microsoft.XMLHTTP')},
  function() {return new XMLHttpRequest()}
  function() {return new ActiveXObject('Msxml2.XMLHTTP')}
) || false;

},

As you might notice I have tried to switch the order of return objects here. As it turned out changing the order had no effect, but I have also left out a necessary comma. This is the only way I could get it to do what it should. BTW, it is not a caching issue I have as I have modified my response headers accordingly.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Pages