RE: [flexcoders] Re: Help me understand custom drag/drop events

2008-06-15 Thread Alex Harui
Why not just set a flag instead of calling preventDefault, then check the flag afterwards. BTW, you shouldn't be dispatching COLLECTION_CHANGE yourself. Best to use itemUpdated when changing quantity. A COLLECTION_CHANGE will fire when the default code inserts the dropped items.

RE: [flexcoders] Re: Help me understand custom drag/drop events

2008-06-13 Thread Alex Harui
IIRC, the DragDrop event is the right place and you were already doing that. If you don't preventDefault that event, it will insert the dragged items into the DP. I haven't been paying close attention so I'm not clear what problem you ran into that makes you think this isn't the way to go.