Bug Tracker

Opened 13 years ago

Closed 12 years ago

#2105 closed bug (fixed)

[PATCH] 1.2.2b2 curCSS() throws an error in IE

Reported by: ieure Owned by:
Priority: major Milestone: 1.2.2
Component: effects Version: 1.2.1
Keywords: ie, internet explorer Cc:
Blocked by: Blocking:

Description

If you try to .show() an object which doesn’t have a .style member, IE 6 dies with this error:

'style' is null or not an object

The problem seems to be curCSS() accessing elem.style[name] without checking to see if elem.style exists. Attached patch corrects the problem for me.

Attachments (1)

curcss.patch (402 bytes) - added by ieure 13 years ago.
Patch which corrects the issue.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by ieure

Attachment: curcss.patch added

Patch which corrects the issue.

comment:1 Changed 12 years ago by john

Resolution: fixed
Status: newclosed

Fixed in SVN rev [4444].

Note: See TracTickets for help on using tickets.