johnbintz/cocoon — pull request #1 by aepstein (2012-12-08 23:20:03+00:00)
Title: _updateFields js should start with first list item position of 1, not 0

The logic for inserting new members of the list assumes the first member will have position 1. For consistency with this behavior, _updateFields should also start at 1. The indices generated by jQuery sortable start at 0, so we have to shift them up by 1.