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: |
Description
When there is a call to sortable('toArray'), we get the following error :
o is undefined
'id')); }); |
Change History (5)
comment:1 follow-up: 2 Changed 14 years ago by
comment:2 Changed 14 years ago by
Sorry, here is the exact fix :
'id'));}); |
At line 118 in ui.sortable.js
comment:3 Changed 14 years ago by
Priority: | minor → blocker |
---|
comment:4 Changed 14 years ago by
Milestone: | TBD → 1.6 |
---|
comment:5 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has recently been fixed.
Note: See
TracTickets for help on using
tickets.
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')); });