The following changes to the DynLayer are needed to fix problems with
removing a dynlayer and adding a dynlayer back to a document/dynlayer.

Line:192 in DynLayer.prototype.deleteElement
    this.elm={}; // was this.elm = null
    this.doc={}; // was this.elm = null
    this.css={}; // was this.elm = null

This will fix problems with the widgets.  For example in IE in
dynapi.gui.scrollpane.html - try Adding Label #2 and then re-adding
Label #1 to the contents.  Without the above patch, it will throw an
error.


-- 
// Robert Rainwater


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-dev

Reply via email to