sortable: fixed toArray method

This commit is contained in:
Paul Bakaus 2008-09-02 14:30:11 +00:00
parent 1e59121b1e
commit b95772ef09

View File

@ -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;
},