No description provided.
As mentioned in your other pull request, we need bug reports and reduced test cases before pull requests.
Sortable: Fix a bug of removing an item while iterating an array
Problem: in some cases, iterating this.items will cause out of range problem, for example:
If you try to drag the $('.sortable.sortableItem'), there will be an error message in console:
Uncaught TypeError: Cannot read property 'item' of undefined
Should I open a bug report in http://bugs.jqueryui.com ?
Thanks for the test case. If you can file a bug on that bug tracker, I'll update your commit message to reference the ticket and land your patch.
OK, I've opened a ticket: http://bugs.jqueryui.com/ticket/8571
Thanks, landed in 77a4aaf. Sorry for the delay, we had to get 1.9.0 out first.