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) {
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'
}