Don't give up on the entire hierarchy when remapping tree ids--just deindent children if an id isn't found

pull/14/head
Sam Bosley 12 years ago
parent 7130547bef
commit 60ba37662d

@ -121,6 +121,7 @@ public class SubtasksHelper {
Long remoteId = idMap.get(child.taskId);
if (remoteId == null || remoteId <= 0) {
children.remove(i);
children.addAll(i, child.children);
i--;
} else {
child.taskId = remoteId;

Loading…
Cancel
Save