- Fix bug loading new data into gantt

- Setup for Stylite gantt features
This commit is contained in:
Hadi Nategh 2014-09-23 09:27:59 +00:00
parent 4963e7c968
commit 9f8f35ac57

View File

@ -276,6 +276,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);