Opened 14 years ago

Closed 14 years ago

#3567 closed bug (fixed)

toArray not working

Reported by: PJ Owned by: paul
Priority: blocker Milestone: 1.7
Component: ui.sortable Version: 1.6rc2
Keywords: sortable toArray Cc:
Blocked by: Blocking:


When there is a call to sortable('toArray'), we get the following error :

o is undefined

items.each(function() { ret.push($(this).attr(o.attr
'id')); });

Change History (5)

comment:1 Changed 14 years ago by PJ

I've found the bug : just add the o parameter to the function, like this:

items.each(function(o) { ret.push($(this).attr(o.attr('id')); });

comment:2 in reply to:  1 Changed 14 years ago by PJ

Sorry, here is the exact fix :


At line 118 in ui.sortable.js

comment:3 Changed 14 years ago by Scott González

Priority: minorblocker

comment:4 Changed 14 years ago by Scott González

Milestone: TBD1.6

comment:5 Changed 14 years ago by paul

Resolution: fixed
Status: newclosed

This has recently been fixed.

Note: See TracTickets for help on using tickets.