r2318 - Merged r2208 to 1.7.1 (fixes #4278 - Droppable: option accept setter .droppable('option',...
Author: rdworth
Date: Wed Mar 18 17:04:59 2009
New Revision: 2318
Modified:
branches/1.7.1/ui/ui.droppable.js (contents, props changed)
Log:
Merged r2208 to 1.7.1 (fixes #4278 - Droppable: option accept
setter .droppable('option', 'accept', selector) fails)
Modified: branches/1.7.1/ui/ui.droppable.js
==============================================================================
--- branches/1.7.1/ui/ui.droppable.js (original)
+++ branches/1.7.1/ui/ui.droppable.js Wed Mar 18 17:04:59 2009
@@ -51,7 +51,7 @@
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);