From 2ab2f3c7e10ffd109f8b2409ace6adcbd5cbcb61 Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Mon, 10 Nov 2008 06:39:52 +0000 Subject: Change name of intersect methods to isOverHeight/isOverWidth/isOver. --- ui/ui.draggable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/ui.draggable.js') diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index 551550ed4..98934fdf2 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -606,7 +606,7 @@ $.ui.plugin.add("draggable", "connectToSortable", { var itemHeight = o.height, itemWidth = o.width; var itemTop = o.top, itemLeft = o.left; - return $.ui.intersects(helperTop + dyClick, helperLeft + dxClick, itemTop, itemLeft, itemHeight, itemWidth); + return $.ui.isOver(helperTop + dyClick, helperLeft + dxClick, itemTop, itemLeft, itemHeight, itemWidth); }; $.each(inst.sortables, function(i) { -- cgit v1.2.3