]> source.dussan.org Git - jquery-ui.git/commit
Draggable: No cloning in connectToSortable and ensure correct position
authorMike Sherov <mike.sherov@gmail.com>
Fri, 22 Aug 2014 19:16:41 +0000 (15:16 -0400)
committerMike Sherov <mike.sherov@gmail.com>
Sat, 23 Aug 2014 19:08:54 +0000 (15:08 -0400)
commit95546c5d045f8055b121f24d3e35468e2a570c1b
tree61038aba83e98454e532711a4651ff39b56d04d2
parenta62612ce42d4ac95130d0eee47ed6b62e6588515
Draggable: No cloning in connectToSortable and ensure correct position

Draggables now forcefully recalculate their position when dragged out
of a sortable. Sortables now override draggable position when a
draggable is dragged into it. Lastly, no longer remove sortable helper
when dragging a draggable out, which allows us to not use a clone.

Fixes #7734
Fixes #8809
Closes gh-1322
tests/unit/draggable/draggable.html
tests/unit/draggable/draggable_options.js
ui/draggable.js