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

Modified Files:
        dragdrop.js 
Log Message:
DragDrop now is a part of the DynObject instead of the dynlayer and dyndocument

Index: dragdrop.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/ext/dragdrop.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** dragdrop.js 2001/01/11 21:20:12     1.4
--- dragdrop.js 2001/03/30 08:56:43     1.5
***************
*** 8,12 ****
        dynapi.api.*
  */ 
! DynLayer.prototype.DragDrop=function(s){
        if (!this.children.length>0) return;
        for (var i in this.children) {
--- 8,12 ----
        dynapi.api.*
  */ 
! DynObject.prototype.DragDrop=function(s){
        if (!this.children.length>0) return;
        for (var i in this.children) {
***************
*** 14,17 ****
                if (ch.x<s.x && ch.x+ch.w>s.x && ch.y<s.y && ch.y+ch.h>s.y) 
ch.invokeEvent("drop");
        }
! };
! DynDocument.prototype.DragDrop=DynLayer.prototype.DragDrop;
\ No newline at end of file
--- 14,16 ----
                if (ch.x<s.x && ch.x+ch.w>s.x && ch.y<s.y && ch.y+ch.h>s.y) 
ch.invokeEvent("drop");
        }
! };
\ No newline at end of file


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

Reply via email to