update
This commit is contained in:
@@ -1426,8 +1426,8 @@ class Gantt {
|
||||
|
||||
}
|
||||
}
|
||||
if(s)
|
||||
task.end=s.end;
|
||||
if(s && this.options.sync_parent_end_with_children)
|
||||
task.end=s.end;
|
||||
task.has=this.get_all_dependent_tasks(task.id);
|
||||
|
||||
return task;
|
||||
@@ -1666,7 +1666,8 @@ class Gantt {
|
||||
date_format: 'YYYY-MM-DD',
|
||||
popup_trigger: 'click',
|
||||
custom_popup_html: null,
|
||||
language: 'en'
|
||||
language: 'en',
|
||||
sync_parent_end_with_children: true
|
||||
};
|
||||
this.options = Object.assign({}, default_options, options);
|
||||
}
|
||||
@@ -2747,3 +2748,5 @@ function generate_id(task) {
|
||||
return Gantt;
|
||||
|
||||
}());
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user