aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.droppable.js
diff options
context:
space:
mode:
authorChi Cheng <cloudream@gmail.com>2009-03-05 15:18:07 +0000
committerChi Cheng <cloudream@gmail.com>2009-03-05 15:18:07 +0000
commit73163f471ea970f5f8f473d521408a3375f0e866 (patch)
treef329672ad0837a8dc10655846c92307c951883c2 /ui/ui.droppable.js
parentce0988e7b12e7500c7a7a952fa12842f7113ee43 (diff)
downloadjquery-ui-73163f471ea970f5f8f473d521408a3375f0e866.tar.gz
jquery-ui-73163f471ea970f5f8f473d521408a3375f0e866.zip
Droppable: droppable('option', 'accept', selector) fails. fixes #4278
Diffstat (limited to 'ui/ui.droppable.js')
-rw-r--r--ui/ui.droppable.js2
1 files changed, 1 insertions, 1 deletions
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);