Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#6713 closed bug (invalid)

jQuery v1.4.2 Internet Explorer Bug

Reported by: fowardslash Owned by:
Priority: undecided Milestone: 1.4.2
Component: unfiled Version: 1.4.2
Keywords: 1.4.2 Cc:
Blocked by: Blocking:

Description

On line 116 of the minified version, there is an error which breaks the process in internet explorer.

The current line is:

if(e)f[b]=d;return f[b];

Internet Explorer says:

Invalid argument line 116 character 165

The solution to this problem is:

if(e) return d;

apparently IE doesn't like that f[b] is undefined?

Change History (6)

comment:1 Changed 10 years ago by fowardslash

While the solution I proposed does not create an error in internet explorer, it does affect the jquery ui. I'm using the ui dropdown, and the positioning has been effected by not returning f[b]. This line seems to be css related, and quite frankly, it's over my head. I'm going to address the issue via my own stylesheet, however this is a bug for internet explorer when using the jquery ui.

comment:2 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please reopen with a simple test case that demonstrates the problem. We need to know the *cause* before we look for a solution.

comment:3 Changed 9 years ago by paramaeleon@…

In case that d is equal to "undefinedpx" IE has an error here.

I changed that expression into: if(e&&d!="undefinedpx")f[b]=d;

Now every thing works fine.

comment:4 in reply to:  3 Changed 9 years ago by jitter

Priority: undecided

Replying to paramaeleon@…:

In case that d is equal to "undefinedpx" IE has an error here.

I changed that expression into: if(e&&d!="undefinedpx")f[b]=d;

Now every thing works fine.

You modified the minified version of jQuery??

Submit a reduced test case instead. How to report bugs

comment:5 in reply to:  3 Changed 8 years ago by anonymous

Replying to paramaeleon@…:

In case that d is equal to "undefinedpx" IE has an error here.

I changed that expression into: if(e&&d!="undefinedpx")f[b]=d;

Now every thing works fine.

After modifying also i am getting the same error. Inplace of that i have used if(e) return d; Then i am not getting any error. but the background styles, borders (css) not applied correctly. Please suggest what to do asap.

comment:6 Changed 7 years ago by anonymous

Instead of 'undefinedpx' just use 'undefined' as the width you are passing might not have 'px' in if(e&&d!="undefinedpx")f[b]=d;

Note: See TracTickets for help on using tickets.