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

Modified Files:
        dragevent.js 
Log Message:
added lyr.frame&&lyr.frame.lyrobj to stop error in NS4

Index: dragevent.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/dragevent.js,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** dragevent.js        2001/11/07 00:59:01     1.11
--- dragevent.js        2001/11/08 14:35:01     1.12
***************
*** 53,57 ****
        if (!lyr) return;
        // Also, if the dragged layer is not in this document, return
!       if(lyr.frame.lyrobj!=e.getSource()) return
  
        if(!de.isDragging)
--- 53,57 ----
        if (!lyr) return;
        // Also, if the dragged layer is not in this document, return
!       if(lyr.frame&&lyr.frame.lyrobj!=e.getSource()) return
  
        if(!de.isDragging)


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

Reply via email to