Ticket #3019 (closed bug: fixed)
sortables bug with option 'stop'
| Reported by: | Vaskerville | Owned by: | paul |
|---|---|---|---|
| Priority: | major | Milestone: | 1.5.1 |
| Component: | ui.sortable | Version: | 1.5 |
| Keywords: | Cc: |
Description
One would think that the 'stop' option for Sortables would fire after sorting has completed AND the cloned helper class has deleted itself - so it is possible to return the list id's as they exist at completion.
For instance, if I have a list with id's...
<li id='i1'>1</li> <li id='i2'>2</li> <li id='i3'>3</li> <li id='i4'>4</li>
And I drag 4 to position 2 I will get (reported via stop using a callback function to examine what's happening)...
<li id='i1'>1</li> <li id='i4' style='visibility: hidden;'>4</li> <li id='i2'>2</li> <li id='i3'>3</li> <li id='i4' class='ui-sortable-helper'>4</li>
And then, only when it has truly completed executing will I get...
<li id='i1'>1</li> <li id='i4' style=>4</li> <li id='i2'>2</li> <li id='i3'>3</li>
Thanks
![(please configure the [header_logo] section in trac.ini)](/chrome/site/nologo.gif)