- 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

@ -269,6 +269,9 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
// Clear previous value // Clear previous value
this.gantt.clearAll(); 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) if(value.duration_unit)
{ {