Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a list of Fields which are sortable with jquery-ui. Every Field can be deleted.

Look at my example. http://plnkr.co/edit/SbUxzoH3ezcJaoFxutkp?p=info

When i reorder the fields and start deleting fields the order does not seems wright and error happens. But when i debug the Array the order seems to be right which you can see while i am displaying the $index variable.

Any Ideas what is going wrong?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.