mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
sortable: fixed toArray method
This commit is contained in:
parent
1e59121b1e
commit
b95772ef09
@ -82,7 +82,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
|
|||||||
var items = this._getItemsAsjQuery(o && o.connected);
|
var items = this._getItemsAsjQuery(o && o.connected);
|
||||||
var ret = [];
|
var ret = [];
|
||||||
|
|
||||||
items.each(function() { ret.push($(this).attr(attr || 'id')); });
|
items.each(function() { ret.push($(this).attr(o.attr || 'id')); });
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user