Opened 7 years ago

Last modified 2 years ago

#15272 assigned defect

[patch] dojox.widget.Standby raises error if target is removed in IE8

Reported by: Joso Owned by: dylan
Priority: undecided Milestone: 1.15
Component: DojoX Widgets Version: 1.7.2rc1
Keywords: Cc:
Blocked By: Blocking:

Description

If the target of a dojox.widget.Standby is removed via removeChild(), IE8 raises an error:

dojo/dom-style.js line 306
Error: Unable to get value of the property 'zIndex': object is null or undefined

-> Dojo script is searching parents of target to get top z-index. Removed element exists in DOM but it hasn't parent.

It happens only in IE8. In IE7 and IE9 works fine.

This bug similar to http://bugs.dojotoolkit.org/ticket/14984 but it is not same.

Attachments (2)

patch_IE8.txt (981 bytes) - added by Joso 7 years ago.
Patch
test-standby.html (1.4 KB) - added by Joso 7 years ago.
test sample

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Joso

Attachment: patch_IE8.txt added

Patch

Changed 7 years ago by Joso

Attachment: test-standby.html added

test sample

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12
Owner: changed from dante to dylan
Status: newassigned
Summary: dojox.widget.Standby raises error if target is removed in IE8[patch] dojox.widget.Standby raises error if target is removed in IE8

comment:2 Changed 2 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.