Ticket #4138 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Sortable.serialize('toArray') contain the placeholder item

Reported by: doutu Owned by:
Priority: minor Milestone: 1.8
Component: ui.sortable Version: 1.6rc6
Keywords: serialize placeholder Cc:
Blocking: Blocked by:

Description

<ul id="test"> <li id="i_1">item 1</li>

<li id="i_2">item 2</li>

<li id="i_3">item 3</li>

<li id="i_4">item 4</li> </ul>

$("#test").Sortable.serialize("toArray") will return an empty item id which is the placeholder. If this is a bug, please fix it. If not, why don't remove this empty id item when serializes.

Change History

comment:1 Changed 5 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.6

comment:2 Changed 5 years ago by rdworth

  • Milestone changed from 1.7 to 1.8

comment:3 Changed 5 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r3110

Note: See TracTickets for help on using tickets.