Message Thread: |
View All MessagesBack to WebFX |
This is a bug in xTree and not in XLoadTree but we are still thankful that you told us about this bug. This should be fixed in the next update. erik From: Sascha Hofmann Sent: Feburary 13, 2002 Subject: Re:Bug in xLoadtree Hi,
When removing the last "WebFXTreeItem" from a "WebFXTree" a javascript error occurs. The plus- and minus-icons thar are set on removal are only available for the "WebFXTreeItems" and not for a "WebFXTree". I've channged the code to allow manipulation of plus- and minus-icons only if the parentNode has a parentNode. In other words if it is not the root. <code> WebFXTreeItem.prototype.remove = function() { ... if ( this.parentNode.parentNode ) ... </code>
|