Skip to main content

Bug Tracker

Side navigation

#6987 closed bug (duplicate)

Opened September 02, 2010 07:45AM UTC

Closed September 02, 2010 04:38PM UTC

Ajax() bug on IE7

Reported by: kinming Owned by:
Priority: Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: IE7 ajax Cc:
Blocked by: Blocking:

We used an modified version of jquery.autocomplete. After upgrade jquery from 1.2.6 to 1.4.2, autocomplete didn't work any more. As I dug deep, I found that the latest jquery have used a different way to create the XMLHTTPREQUEST. And yes, I noticed that you deal with IE7 specially. But in our IE7 browsers, this does NOT work properly. Both CHS and EN versions are failed.

BTW, are you sure this is right ? 'window.location.protocol !== "file:" ' (jquery-1.4.2.js, line 4952, look at this operator: "!==" )

Attachments (0)
Change History (2)

Changed September 02, 2010 08:02AM UTC by kinming comment:1

Origin line 4952 is:

window.XMLHttpRequest && (window.location.protocol != "file:" || !window.ActiveXObject)

When I changed it into to :

window.XMLHttpRequest && !window.ActiveXObject

The ajax() works again. Both in IE6/7/8&Firefox.

It looks like XMLHTTPREQUEST in IE7 is buggy. Maybe we should try not to use it?

Changed September 02, 2010 04:38PM UTC by dmethvin comment:2

resolution: → duplicate
status: newclosed

Dup of #6298.