diff options
-rw-r--r-- | ui/ui.sortable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js index 346fd2635..8a84405eb 100644 --- a/ui/ui.sortable.js +++ b/ui/ui.sortable.js @@ -82,7 +82,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, { var items = this._getItemsAsjQuery(o && o.connected); var ret = []; - items.each(function() { ret.push($(this).attr(attr || 'id')); }); + items.each(function() { ret.push($(this).attr(o.attr || 'id')); }); return ret; }, |