Hi,
looking at the source code for the code that handles the mouseup event:
/*!
Handle mouse up event. Normally this finalize the drag and drop event.
*/
proto._handleMouseUp = function(e)
{
// Return if dragCache was not filled before
if (!this._dragCache) {
return;
};
if (this._dragCache.dragHandlerActive)
{
this._endDrag(this.getDropTarget(e), e);
}
else
{
// Clear drag cache
this._dragCache = null;
};
};
I wonder what the dragEnd event is supposed to do. I thought that it was
called when the drag session ends without a valid drop target, i.e., the
drag session either results in a dragDrop event or a dragEnd event, but
I was mistaken.
Can you clarify?
In what I want to do, I need to be able to call an event handler for the
case that the drag session is unsuccessful (i.e., is aborted without
dragDrop). Is this possible? Maybe a todo for 0.6?
Thanks,
Christian
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel