From 670d3e0ac9cc97b440b7b1df23003472c437bc3f Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 20 Jan 2009 13:10:11 +0000 Subject: droppable: defaults should be set to 'false' if disabled, not null (fixes #3881) --- ui/ui.droppable.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ui/ui.droppable.js') diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js index 4131a918b..72449d7d4 100644 --- a/ui/ui.droppable.js +++ b/ui/ui.droppable.js @@ -120,8 +120,6 @@ $.widget("ui.droppable", { }, - plugins: {}, - ui: function(c) { return { draggable: (c.currentItem || c.element), @@ -138,10 +136,10 @@ $.extend($.ui.droppable, { eventPrefix: 'drop', defaults: { accept: '*', - activeClass: null, + activeClass: false, cssNamespace: 'ui', greedy: false, - hoverClass: null, + hoverClass: false, scope: 'default', tolerance: 'intersect' } -- cgit v1.2.3