concept invalid drop in category ext js

appears as: n invalid drop
Ext JS in Action, Second Edition

This is an excerpt from Manning's book Ext JS in Action, Second Edition.

Listing 12.5. Cleaning up after an invalid drop

In listing 12.5, you first override the b4StartDrag method, which is called the moment a drag element is dragged. At this point you can store the drag element’s original X and Y coordinates, which will be used for the repair operation. To repair an invalid drop means to reset the position of the drag element or proxy (as you’ll see in a bit) to its position before the drag operation took place.