droppable: defaults should be set to 'false' if disabled, not null (fixes #3881)

This commit is contained in:
Paul Bakaus 2009-01-20 13:10:11 +00:00
parent 3c569353ec
commit 670d3e0ac9

View File

@ -120,8 +120,6 @@ $.widget("ui.droppable", {
}, },
plugins: {},
ui: function(c) { ui: function(c) {
return { return {
draggable: (c.currentItem || c.element), draggable: (c.currentItem || c.element),
@ -138,10 +136,10 @@ $.extend($.ui.droppable, {
eventPrefix: 'drop', eventPrefix: 'drop',
defaults: { defaults: {
accept: '*', accept: '*',
activeClass: null, activeClass: false,
cssNamespace: 'ui', cssNamespace: 'ui',
greedy: false, greedy: false,
hoverClass: null, hoverClass: false,
scope: 'default', scope: 'default',
tolerance: 'intersect' tolerance: 'intersect'
} }