From 4d93470fb9e3fc4ad56ce2db98eb71f069f70ade Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 9 Sep 2014 20:40:27 +0000 Subject: [PATCH] - Fix bug loading new data into gantt - Setup for Stylite gantt features --- etemplate/js/et2_widget_gantt.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etemplate/js/et2_widget_gantt.js b/etemplate/js/et2_widget_gantt.js index 308cb2e4f1..9dfa1bd504 100644 --- a/etemplate/js/et2_widget_gantt.js +++ b/etemplate/js/et2_widget_gantt.js @@ -269,6 +269,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) {