From 73163f471ea970f5f8f473d521408a3375f0e866 Mon Sep 17 00:00:00 2001 From: Chi Cheng Date: Thu, 5 Mar 2009 15:18:07 +0000 Subject: Droppable: droppable('option', 'accept', selector) fails. fixes #4278 --- ui/ui.droppable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/ui.droppable.js b/ui/ui.droppable.js index c71853cf8..8d53273f8 100644 --- a/ui/ui.droppable.js +++ b/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); -- cgit v1.2.3