Re: Window widget problems

Mark Anderson <[email protected]> Fri, 19 Sep 2003 18:31:07 -0700
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
There is a good chance that this is due to a bug I pointed out
a month ago that I see still hasn't been fixed, in
component_registry.js:

	this.remove = function(){
		this.preRemove();
		try{ document.body.removeChild(this.domNode); }catch(e){}
		__components__.unregister(this);
		this.domNode = null;
	}

should instead be something like:

	this.remove = function(){
		this.preRemove();
		if (this.domNode) {
		this.domNode.parentNode.removeChild(this.domNode);
		this.domNode = null;
		}
		__components__.unregister(this);
	}

perhaps you could try patching that and see if it helps.

-mda, disturbed at the amount of exception suppression going on in NW


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org