aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.droppable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2009-01-20 13:10:11 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2009-01-20 13:10:11 +0000
commit670d3e0ac9cc97b440b7b1df23003472c437bc3f (patch)
treed333f71b512b30e6ed8b6e37668ce63b0b2ec8d0 /ui/ui.droppable.js
parent3c569353ec31214aec12729412cf25b512f822d6 (diff)
downloadjquery-ui-670d3e0ac9cc97b440b7b1df23003472c437bc3f.tar.gz
jquery-ui-670d3e0ac9cc97b440b7b1df23003472c437bc3f.zip
droppable: defaults should be set to 'false' if disabled, not null (fixes #3881)
Diffstat (limited to 'ui/ui.droppable.js')
-rw-r--r--ui/ui.droppable.js6
1 files changed, 2 insertions, 4 deletions
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'
}