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

Modified Files:
        dragevent.js 
Log Message:
Added support for DragDrop - Possibly a better way, but this will work for now

Index: dragevent.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/dragevent.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** dragevent.js        2001/04/02 16:12:36     1.2
--- dragevent.js        2001/04/04 06:24:05     1.3
***************
*** 122,126 ****
        // Avoid click for the dragged layer ( with MouseEvent addition )
        if (is.def) DynAPI.wasDragging=true;
! 
        // Properties for the event
        de.type="dragend";
--- 122,126 ----
        // Avoid click for the dragged layer ( with MouseEvent addition )
        if (is.def) DynAPI.wasDragging=true;
!       if (lyr.parent.DragDrop) lyr.parent.DragDrop(lyr); 
        // Properties for the event
        de.type="dragend";


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

Reply via email to