Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api
In directory usw-pr-cvs1:/tmp/cvs-serv2279

Modified Files:
        dynlayer.js 
Log Message:
Ns4 only: due to precreation, where specific Create only occurs for parent layer, not 
all children, the pointers to the layer that were set for the links and image objects 
were only set for the parent. Added into assignChildren as well. Should fix lots of 
things.

Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -r1.39 -r1.40
*** dynlayer.js 2001/03/28 10:21:00     1.39
--- dynlayer.js 2001/03/28 11:48:15     1.40
***************
*** 104,107 ****
--- 104,109 ----
                        child.doc.lyrobj=child;
                        child.elm.lyrobj=child;
+                       for (var j in child.doc.images) 
+child.doc.images[j].lyrobj=child;
+                       for (j=0;j<child.doc.links.length;j++) 
+child.doc.links[j].lyrobj=child;
                        child.assignChildren();
                        if (child.z) child.css.zIndex=child.z;


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

Reply via email to