Search and Top Navigation
#4138 closed bug (fixed)
Opened February 13, 2009 08:37AM UTC
Closed August 22, 2009 01:48PM UTC
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: | |
Blocked by: | Blocking: |
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.