Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#5219 closed defect (fixed)

dojox.layout.FloatingPane doesn't mind children when destroying

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


The floating pane won't destroy the child widgets it contains (by getting its content remotely).

Adding the following method

	,destroyRecursive : function() {
		this.inherited("destroyRecursive", arguments);

and changing the call from "destroy" to "destroyRecursive" in close() seems to fix this:

	close: function(){
		// summary: close and destroy this widget
		if(!this.closable){ return; }

The children as well as the FP itself are destroyed and removed from the dijit.registry

Change History (3)

comment:1 Changed 14 years ago by dante

Owner: changed from Tom Trenka to dante
Status: newassigned

comment:2 Changed 14 years ago by dante

Resolution: fixed
Status: assignedclosed

(In [11624]) fixes #5219 - destroy contents as well as pane on close. fixes #5231 - patch from BlueFire? allowing the child of a floatingpane to be a LayoutWidget? and size accordingly, and fixes #5232 - another patch from BlueFire? to make resize handle use a single 'rubberband' for virtual sizing.

comment:3 Changed 11 years ago by bill

Component: DojoxDojoX Layout
Note: See TracTickets for help on using tickets.