Bugs #404903, was updated on 2001-02-28 06:43
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=404903&group_id=5757

Category: Core API
Group: None
Status: Open
Priority: 5
Submitted By: Eytan Heidingsfeld
Assigned to: Nobody/Anonymous
Summary: No Check for isDynlayer

Initial Comment:
In the function deleteAllChildren in DynLayer the 
following check is missing on line 226
if (this.children[i].isDynLayer)
and a close bracket on 237 because.
Otherwise when you enhance the Array object (with 
splice for instance) then it tries to call
Array.splice.deleteAllChildren


----------------------------------------------------------------------

Comment By: Eytan Heidingsfeld
Date: 2001-03-10 09:45

Message:
Logged In: YES 
user_id=50900

The problem is that JS has a very tight relationship 
between arrays and object(look at the [] operator or 
myObject["method"]).
So when you change something in the prototype of splice it 
affects DynLayer and DynDocument. It is only a logical 
check and it should be added.

----------------------------------------------------------------------

Comment By: Robert Rainwater
Date: 2001-03-09 12:52

Message:
Logged In: YES 
user_id=16618

Array.splice should not be a child of a DynDocument or 
DynLayer.  Only dynlayers can be children of other 
dynlayers/dyndocuments.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=404903&group_id=5757

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

Reply via email to