From b95772ef09e0ae73f1fec1821e16a7e1874c7181 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Tue, 2 Sep 2008 14:30:11 +0000 Subject: [PATCH] sortable: fixed toArray method --- ui/ui.sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; },