]> source.dussan.org Git - jquery-ui.git/commit
Sortable: Redetermine floating flag when recalculating positions
authorTJ VanToll <tj.vantoll@gmail.com>
Fri, 31 Oct 2014 13:46:41 +0000 (09:46 -0400)
committerScott González <scott.gonzalez@gmail.com>
Tue, 10 Mar 2015 15:59:14 +0000 (11:59 -0400)
commit189f1d476c2d6f53c88f9e92bdaffbc64ed9c572
tree69ca17be55f82d8d6b2a33c39e30232a92e58cac
parent258dbe3ae481b74c056e6445bd1aaaface9d6c48
Sortable: Redetermine floating flag when recalculating positions

This addresses a bug where users initialize empty sortable lists are
add items dynamically. In this situation refresh() should recognize the
position and orientation of the new items.

Fixes #7498
Closes gh-1381
(cherry picked from commit f656aebe3f99356b7eb91ffdafe6689ecc8fb4ae)
tests/unit/sortable/sortable_methods.js
ui/sortable.js