Skip to content
Permalink
Browse files

droppable: defaults should be set to 'false' if disabled, not null (f…

…ixes #3881)
  • Loading branch information
Paul Bakaus
Paul Bakaus committed Jan 20, 2009
1 parent 3c56935 commit 670d3e0ac9cc97b440b7b1df23003472c437bc3f
Showing with 2 additions and 4 deletions.
  1. +2 −4 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'
}

0 comments on commit 670d3e0

Please sign in to comment.
You can’t perform that action at this time.