Skip to content
Permalink
Browse files

Droppable: droppable('option', 'accept', selector) fails. fixes #4278

  • Loading branch information...
chicheng committed Mar 5, 2009
1 parent ce0988e commit 73163f471ea970f5f8f473d521408a3375f0e866
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.droppable.js
@@ -51,7 +51,7 @@ $.widget("ui.droppable", {

if(key == 'accept') {
this.options.accept = value && $.isFunction(value) ? value : function(d) {
return d.is(accept);
return d.is(value);
};
} else {
$.widget.prototype._setData.apply(this, arguments);

0 comments on commit 73163f4

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