r896 - trunk/ui

r896 - trunk/ui


Author: eduardolundgren
Date: Sun Nov 9 21:56:06 2008
New Revision: 896
Modified:
trunk/ui/ui.draggable.js
Log:
Draggable: Avoid conflict with droppable $.ui.intersect. Now using
$.ui.intersects.
Modified: trunk/ui/ui.draggable.js
==============================================================================
--- trunk/ui/ui.draggable.js    (original)
+++ trunk/ui/ui.draggable.js    Sun Nov 9 21:56:06 2008
@@ -606,7 +606,7 @@
            var itemHeight = o.height, itemWidth = o.width;
            var itemTop = o.top, itemLeft = o.left;
-            return $.ui.intersect(helperTop + dyClick, helperLeft + dxClick,
itemTop, itemLeft, itemHeight, itemWidth);
+            return $.ui.intersects(helperTop + dyClick, helperLeft + dxClick,
itemTop, itemLeft, itemHeight, itemWidth);
        };
        $.each(inst.sortables, function(i) {