|
|
@ -12808,6 +12808,12 @@ module.exports = function(gantt) { |
|
|
|
}, this)); |
|
|
|
}; |
|
|
|
gantt.parse = function (data, type) { |
|
|
|
let from = data.start_date; |
|
|
|
let to = data.end_date; |
|
|
|
if (from && to) { |
|
|
|
this.config.start_date = this._min_date = new Date(from); |
|
|
|
this.config.end_date = this._max_date = new Date(to); |
|
|
|
} |
|
|
|
this.on_load({xmlDoc: {responseText: data}}, type); |
|
|
|
}; |
|
|
|
|
|
|
|