dbushell/Nestable — pull request #69 by bakura10 (2013-07-10 08:03:06+00:00)
Title: Add support for click event

Hi

This PR adds several things:

1. It stores the dragItem so that it can be retrieves everywhere. It may be possible to retrieve it from dragEl or pointEl but I didn't manage to do so…
2. It now correctly the moving attribute (https://github.com/dbushell/Nestable/blob/master/jquery.nestable.js#L188) - previously it was never updated and always to false.
3. Allow to listen to the "click" event. It assumes that if mouse has not moved on dragStop, then it is assumed to be a click, otherwise it is a drag&drop.