get the current state of MercyDrag

Hi,



I want to have 2 different behaviours on the onDrop event according if the drag and drop was for Moving or for Copying (enableMercyDrag) : how can I know if the MercyDrag is enabled or not?



Regards,



Eric


Hello,


you can use some variable and set it enabled when the enableMercyDrag method called.


There is also the private property dpcpy that is true when Mercy Drag enabled:


if(obj.dpcpy) /your code here/