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

Modified Files:
        dynlayer.js 
Log Message:
I added the invokeEvent for "predelete" in flagDeleteChildren.

Probaly not needed, but could be useful later on.

Index: dynlayer.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** dynlayer.js 2001/01/18 18:08:17     1.16
--- dynlayer.js 2001/01/21 20:35:46     1.17
***************
*** 137,143 ****
        }
        if (is.ns5) for (i in dlyr.doc.images) dlyr.doc.images[i].lyrobj=dlyr.elm;
- 
-       /* ilmaestro: not neded anymore */
-          //if (is.ie) for (i in dlyr.elm.all.tags("img")) 
dlyr.elm.all.tags("img")[i].lyrobj=dlyr;
  };
  DynLayer.assignChildren=function(dlyr) {
--- 137,140 ----
***************
*** 149,153 ****
                DynLayer.assignElement(child,elm);
                DynLayer.assignChildren(child);
- 
                if (child.html!=null && (child.w==null || child.h==null)) {
                        if (child.w==null && child.getContentWidth()>0) 
child.setWidth(child.getContentWidth(),false);
--- 146,149 ----
***************
*** 157,163 ****
                child.created=true;
                if (child.hasEventListeners) child.captureMouseEvents();
-               // zIndex not working by placing the tag in the getOuterHTML method, 
therefore...
                if (child.z!=null) child.css.zIndex=child.z;
- 
                child.invokeEvent('create');
        }
--- 153,157 ----
***************
*** 173,176 ****
--- 167,171 ----
                if (dlyr.children[i].created) 
DynLayer.flagDeleteChildren(dlyr.children[i]);
        }
+       dlyr.invokeEvent('predelete');
  };
  // End Static Properties/Methods


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

Reply via email to