stayradiated/Nitro — pull request #234 by stesie (2013-09-26 21:47:57+00:00)
Title: drag & drop to same list removes task from list

hey there,

currently if you drag whatever task and drop it on the same list, nothing seems to happen (as expected). However if you re-render the task list (e.g. by clicking the list item again) the task isn't listed anymore. The task actually is still valid (and you see it in the all tasks list), it's just removed from the (current/target) list.

This change adds a check comparing list ids on List.moveTask and simply returns if they are equal

cheers
stesie