aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.sortable.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-07-07 10:41:42 +0000
committerRichard Worth <rdworth@gmail.com>2009-07-07 10:41:42 +0000
commit56b0da59d71396a740cf48a75902243d561ba186 (patch)
tree1487894d84ffd7eb7adcc0d4329ee85f0eb11b25 /ui/ui.sortable.js
parentbf500e6b8bbe89ca3a07db83c5818dfafc500a5b (diff)
downloadjquery-ui-56b0da59d71396a740cf48a75902243d561ba186.tar.gz
jquery-ui-56b0da59d71396a740cf48a75902243d561ba186.zip
Fixed #4551 - Sortable connectWith fails if item is floated. Props dhlavety and jlillywhite.
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r--ui/ui.sortable.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index 12f18b619..f2d5dc4ed 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -570,10 +570,6 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
for (var i = this.items.length - 1; i >= 0; i--){
var item = this.items[i];
- //We ignore calculating positions of all connected containers when we're not over them
- if(item.instance != this.currentContainer && this.currentContainer && item.item[0] != this.currentItem[0])
- continue;
-
var t = this.options.toleranceElement ? $(this.options.toleranceElement, item.item) : item.item;
if (!fast) {