Thanks very much, this seems to fix things very neatly.

Walter

On Feb 16, 2010, at 12:33 PM, gwyohm wrote:

hi walter,
this seem to be a known issue on rails trac.
http://dev.rubyonrails.org/ticket/8259
It only happens on file:/// protocol when native XmlHttpRequest is
used which is as a matter of fact default configuration.
to work around this issue, you might want to patch your prototype.js
file in that way:

invert first 2 functions for getTransport in Ajax:
var Ajax = {
 getTransport: function() {
   return Try.these(
     function() {return new ActiveXObject('Msxml2.XMLHTTP')}, // was
in 2nd place
     function() {return new XMLHttpRequest()}, // was 1st
     function() {return new ActiveXObject('Microsoft.XMLHTTP')}
   ) || false;
 },

 activeRequestCount: 0
};
worked for me on prototype 1.6.1 with IE 8

cheers


On 16 fév, 00:59, Walter Lee Davis <[email protected]> wrote:
I have a site that gets distributed on DVD as a "portable library".
IE8 users are complaining that an element I am loading into the home
page using Ajax Updater is not appearing at all for them. The problem
only seems to happen when the site is accessed from the DVD. If you
visit the preview version of the site here:http://files.libertyfund.org/pll
  everything loads just fine under any browser.

This site is using 1.6.0.3, I haven't updated it yet to 1.6.1, and I
can't recall if there was any work done in this area between those two
versions.

Does this ring any bells for anyone? Is it going to be fix-able, or do
you suspect it might be one of those IE "features"?

Thanks in advance,

Walter

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en .


--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" 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/prototype-scriptaculous?hl=en.

Reply via email to