Restores parents and grouping in timelines.

pull/553/head
Martin Czuchra 11 years ago
parent 7ab1510469
commit 5fcde41805
  1. 8
      app/assets/javascripts/timelines.js

@ -875,12 +875,10 @@ Timeline = {
}
// project → parent
if (e.parent) {
e.parent = dataEnhancer.getElement(Timeline.Project, e.parent.id);
}
else {
e.parent = undefined;
if (e.parent_id) {
e.parent = dataEnhancer.getElement(Timeline.Project, e.parent_id);
}
delete e.parent_id;
});
};

Loading…
Cancel
Save