diff options
author | Chi Cheng <cloudream@gmail.com> | 2009-03-05 15:18:07 +0000 |
---|---|---|
committer | Chi Cheng <cloudream@gmail.com> | 2009-03-05 15:18:07 +0000 |
commit | 73163f471ea970f5f8f473d521408a3375f0e866 (patch) | |
tree | f329672ad0837a8dc10655846c92307c951883c2 /ui/ui.droppable.js | |
parent | ce0988e7b12e7500c7a7a952fa12842f7113ee43 (diff) | |
download | jquery-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.js | 2 |
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); |