Bugs item #481340, was opened at 2001-11-13 08:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=481340&group_id=5757

Category: DynAPI 2 Events
Group: None
Status: Open
Resolution: Fixed
Priority: 5
Submitted By: Daniel Aborg (daborg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bug in dragevent.js

Initial Comment:
DynAPI 2.5.6, IE 5.5.

When doing DragEvent.enableDragEvents() on a layer 
which hasn't been created yet, you get the following 
error:

Line: 144
Char: 2
Error: 'frame.lyrobj' is null or not an object

This is in dragevent.js


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2001-11-24 19:15

Message:
Logged In: NO 

add it to a parent object immediately after creating it. 
Then the layer can exist before you move it.

myLayer=new DynLayer(null,100,100,100,100,'#c0c0c0')
        DynAPI.document.addChild(myLayer)
        DragEvent.setDragBoundary(myLayer)
        DragEvent.enableDragEvents(myLayer)

        

----------------------------------------------------------------------

Comment By: Richard Bennett (richard_bennett)
Date: 2001-11-13 09:05

Message:
Logged In: YES 
user_id=164855

This has been fixed.
Please download the latest snapshot, and try it again:
http://dynapi.sourceforge.net/snapshot/

I'll leave this bug open for a few days so others see it 
too.

Richard Bennett

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105757&aid=481340&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to