|
|
@ -1476,15 +1476,18 @@ Timeline = { |
|
|
|
TimelineLoader.prototype.checkDependencies = function (identifier) { |
|
|
|
TimelineLoader.prototype.checkDependencies = function (identifier) { |
|
|
|
if (this.shouldLoadReportings(identifier)) { |
|
|
|
if (this.shouldLoadReportings(identifier)) { |
|
|
|
this.registerProjects(this.getRelevantProjectIdsBasedOnReportings()); |
|
|
|
this.registerProjects(this.getRelevantProjectIdsBasedOnReportings()); |
|
|
|
} |
|
|
|
} else if (this.shouldLoadPlanningElements(identifier)) { |
|
|
|
else if (this.shouldLoadPlanningElements(identifier)) { |
|
|
|
|
|
|
|
this.data = this.dataEnhancer.enhance(this.data); |
|
|
|
this.data = this.dataEnhancer.enhance(this.data); |
|
|
|
|
|
|
|
|
|
|
|
this.registerPlanningElements(this.getRelevantProjectIdsBasedOnProjects()); |
|
|
|
this.registerPlanningElements(this.getRelevantProjectIdsBasedOnProjects()); |
|
|
|
} else if (this.shouldLoadRemainingPlanningElements(identifier)) { |
|
|
|
} else { |
|
|
|
this.registerPlanningElementsByID(this.getRemainingPlanningElements()); |
|
|
|
if (this.shouldLoadRemainingPlanningElements(identifier)) { |
|
|
|
} else if (this.shouldLoadUsers(identifier)) { |
|
|
|
this.registerPlanningElementsByID(this.getRemainingPlanningElements()); |
|
|
|
this.registerUsers(this.getUsersToLoad()); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.shouldLoadUsers(identifier)) { |
|
|
|
|
|
|
|
this.registerUsers(this.getUsersToLoad()); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.loader.load(); |
|
|
|
this.loader.load(); |
|
|
|