I have a function that can remove a group. ($groups is updated)
If I remove the group2, then each groups after that breaks... for example when group 2 is removed and i try to move a team from group 1 to group 3
groupChanges will receive the following params:
0: ["..."]
1: ["..."]
2: "group 2" <- this is already deleted, should be group 1
3: "group 1"
4: "group 3"
Hello,
I have multiple sortable lists:
group 1
group 2 (no teams)
group 3 (no teams)
sample code:
I have a function that can remove a group. ($groups is updated)
If I remove the group2, then each groups after that breaks... for example when group 2 is removed and i try to move a team from group 1 to group 3 groupChanges will receive the following params:
Any ideas whats wrong?