mdelrosso / sheepit

SheepIt! Form Cloning plugin for Jquery
http://www.mdelrosso.com/sheepit/
MIT License
68 stars 44 forks source link

continuousIndex does not refresh indexes after manually calling removeForm(n) #12

Open eleboys opened 11 years ago

eleboys commented 11 years ago

First of all thank u for this great plugin ;)

and for the bug I think the title is clear enough, but as a description let me simulate a situation the are 3 form generated/pregenerated like this:

form1: [ ===== ] form 2: [ ===== ] form 3: [ ===== ]

when u use removeForm(1) in javascript to manually remove the 2th one it works fine but the indexes are not refreshed and will remain like this:

form1: [ ===== ] form 3: [ ===== ]