Patches item #413589, was updated on 2001-04-03 18:31
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305757&aid=413589&group_id=5757

Category: DynAPI 2 Extension
Group: None
>Status: Closed
Priority: 5
Submitted By: Richard Bennett (richard_bennett)
Assigned to: Nobody/Anonymous (nobody)
Summary: ondrop not firing

Initial Comment:
ondrop wasn't being invoked.

I had a look, and there's a line missing from 
event/dragevent.js

On line 120, before "// Properties for the event" 
insert this:

 // invokes the ondrop event if activated:
 if (lyr.parent.DragDrop) lyr.parent.DragDrop(lyr);

Then it works.

Another thing, in ext/dragdrop.js this line has been 
removed:

DynDocument.prototype.DragDrop=DynObject.prototype.Drag
Drop;

Wasn't that in there to enable dragdrop in frames? Why 
is it gone?

Cheers,
Richard Bennett


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

>Comment By: Robert Rainwater (rainwater)
Date: 2001-04-03 23:25

Message:
Logged In: YES 
user_id=16618

I updated dragevent.js.  

This line:
DynDocument.prototype.DragDrop=DynObject.prototype.Drag 
Drop; 

Shouldn't be required since DynDocument should inherit 
DynObject DragDrop.  I'm closing the bug for now.  If it 
needs the line just reopen the bug.

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

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

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

Reply via email to