_updateFields js should start with first list item position of 1, not 0 #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "aepstein/patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Can you submit a pull request against the
formtastic_input
branch instead? Thanks!Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.