craftyjs/Crafty — pull request #395 by sbyrnes321 (2012-12-21 16:43:10+00:00)
Title: bug fix: disableDrag shouldn't necessarily trigger StopDrag

It is possible and often useful to call disableDrag() while the entity is not being dragged. In that case, there's no reason to call stopDrag(). Actually, there is a good reason NOT to call stopDrag(): It will set off the "StopDrag" trigger which is obviously inappropriate.