- Fix bug loading new data into gantt

- Setup for Stylite gantt features
This commit is contained in:
Nathan Gray 2014-09-09 20:40:27 +00:00
parent a5f7195462
commit 4d93470fb9

View File

@ -270,6 +270,9 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
// Clear previous value
this.gantt.clearAll();
// Clear the end date, or previous end date may break time scale
this.gantt.config.end_date = null;
if(value.duration_unit)
{
this.set_duration_unit(value.duration_unit);