r895 - trunk/ui

r895 - trunk/ui


Author: eduardolundgren
Date: Sun Nov 9 21:55:04 2008
New Revision: 895
Modified:
trunk/ui/ui.core.js
Log:
Core: Avoid conflict with droppable $.ui.instersect method. Core changed
name to $.ui.intersects.
Modified: trunk/ui/ui.core.js
==============================================================================
--- trunk/ui/ui.core.js    (original)
+++ trunk/ui/ui.core.js    Sun Nov 9 21:55:04 2008
@@ -116,7 +116,7 @@
        return (aLeft > bLeft) && (aLeft < (bLeft + bWidth));
    },
    
-    intersect: function(aTop, aLeft, bTop, bLeft, bHeight, bWidth) {
+    intersects: function(aTop, aLeft, bTop, bLeft, bHeight, bWidth) {
        //Determines when element "a" coordinates intersects with element "b"
        return $.ui.intersectHeight(aTop, bTop, bHeight) &&
$.ui.intersectWidth(aLeft, bLeft, bWidth);
    }