mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
droppable: defaults should be set to 'false' if disabled, not null (fixes #3881)
This commit is contained in:
parent
3c569353ec
commit
670d3e0ac9
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user