|
|
@ -604,7 +604,7 @@ module.exports = function($q, FilterQueryStringBuilder, Color, HistoricalPlannin |
|
|
|
this.loader = new QueueingLoader(options.ajax_defaults); |
|
|
|
this.loader = new QueueingLoader(options.ajax_defaults); |
|
|
|
this.dataEnhancer = new DataEnhancer(timeline); |
|
|
|
this.dataEnhancer = new DataEnhancer(timeline); |
|
|
|
|
|
|
|
|
|
|
|
this.globalPrefix = PathHelper.staticBase + PathHelper.apiV2; |
|
|
|
this.globalPrefix = PathHelper.apiV2; |
|
|
|
|
|
|
|
|
|
|
|
this.die = function () { |
|
|
|
this.die = function () { |
|
|
|
this.dataEnhancer.die.apply(this.dataEnhancer, arguments); |
|
|
|
this.dataEnhancer.die.apply(this.dataEnhancer, arguments); |
|
|
@ -659,8 +659,7 @@ module.exports = function($q, FilterQueryStringBuilder, Color, HistoricalPlannin |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
TimelineLoader.prototype.registerProjectReportings = function () { |
|
|
|
TimelineLoader.prototype.registerProjectReportings = function () { |
|
|
|
var projectPrefix = this.globalPrefix + |
|
|
|
var projectPrefix = PathHelper.apiV2ProjectsPath() + |
|
|
|
PathHelper.projectsPath() + |
|
|
|
|
|
|
|
"/" + |
|
|
|
"/" + |
|
|
|
this.options.project_id; |
|
|
|
this.options.project_id; |
|
|
|
|
|
|
|
|
|
|
@ -691,8 +690,7 @@ module.exports = function($q, FilterQueryStringBuilder, Color, HistoricalPlannin |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
TimelineLoader.prototype.registerGlobalElements = function () { |
|
|
|
TimelineLoader.prototype.registerGlobalElements = function () { |
|
|
|
var projectPrefix = this.globalPrefix + |
|
|
|
var projectPrefix = PathHelper.apiV2ProjectsPath() + |
|
|
|
PathHelper.projectsPath() + |
|
|
|
|
|
|
|
"/" + |
|
|
|
"/" + |
|
|
|
this.options.project_id; |
|
|
|
this.options.project_id; |
|
|
|
|
|
|
|
|
|
|
@ -818,8 +816,7 @@ module.exports = function($q, FilterQueryStringBuilder, Color, HistoricalPlannin |
|
|
|
|
|
|
|
|
|
|
|
TimelineLoader.prototype.registerPlanningElements = function (ids) { |
|
|
|
TimelineLoader.prototype.registerPlanningElements = function (ids) { |
|
|
|
this.inChunks(ids, function (projectIdsOfPacket, i) { |
|
|
|
this.inChunks(ids, function (projectIdsOfPacket, i) { |
|
|
|
var projectPrefix = this.globalPrefix + |
|
|
|
var projectPrefix = PathHelper.apiV2ProjectsPath() + |
|
|
|
PathHelper.projectsPath() + |
|
|
|
|
|
|
|
"/" + |
|
|
|
"/" + |
|
|
|
projectIdsOfPacket.join(','); |
|
|
|
projectIdsOfPacket.join(','); |
|
|
|
|
|
|
|
|
|
|
@ -850,8 +847,7 @@ module.exports = function($q, FilterQueryStringBuilder, Color, HistoricalPlannin |
|
|
|
TimelineLoader.prototype.registerPlanningElementsByID = function (ids) { |
|
|
|
TimelineLoader.prototype.registerPlanningElementsByID = function (ids) { |
|
|
|
|
|
|
|
|
|
|
|
this.inChunks(ids, function (planningElementIdsOfPacket, i) { |
|
|
|
this.inChunks(ids, function (planningElementIdsOfPacket, i) { |
|
|
|
var projectPrefix = this.globalPrefix + |
|
|
|
var projectPrefix = PathHelper.apiV2ProjectsPath() + |
|
|
|
PathHelper.projectsPath() + |
|
|
|
|
|
|
|
"/" + |
|
|
|
"/" + |
|
|
|
this.options.project_id; |
|
|
|
this.options.project_id; |
|
|
|
|
|
|
|
|
|
|
|