Set HTML should destroy the children.  A layer is not supposed to have html 
content and children.

Robert

> as it is now, if you setHTML() on a DynLayer with children,
> all children will be destroyed since you replacing the 
> children's html-tags with the new html-content, not just 
> that layer's content. 
> it would be a rather easy patch so change the setHTML to 
> include it's children's' div/layer tags as well (using 
> getInnerHTML()) before updating the content. 
> (i think you have to reassign all children after the update, 
> if there are any of course)
> 
> any thoughts? 
> 
> /martin
> 
> 
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/[email protected]/



_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/

Reply via email to