Opened 12 years ago

Closed 12 years ago

#5207 closed defect (fixed)

floatingPane throw an exception when destroyed

Reported by: guest Owned by: dante
Priority: high Milestone:
Component: Dojox Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

try {
var div = document.createElement("div");
document.body.appendChild(div);
new dojox.layout.FloatingPane({id:"test",title:"title"},div).destroy();
}catch(e){alert(e.message)}

throws an exception : this._underlay has no properties

So the widget is not completely destroyed and stays in the list of widgets.

Lucho

Change History (2)

comment:1 Changed 12 years ago by Tom Trenka

Owner: changed from Tom Trenka to dante

comment:2 Changed 12 years ago by dante

Resolution: fixed
Status: newclosed

(In [11621]) fixes #5207 - by removing the underlay and code (i was talked out of ...) added in [11571]. there is a patch coming from BlueFire? to address layout issues.

Note: See TracTickets for help on using tickets.