[FIX] All event have no start date then set project start date with today date.
bzr revid: cpa@tinyerp.com-20110608060920-sek3y9a3ep2svexu
This commit is contained in:
@@ -116,8 +116,11 @@ init: function(view_manager, session, element_id, dataset, view_id) {
|
||||
}
|
||||
}
|
||||
}
|
||||
project = new GanttProjectInfo(1, self.name, smalldate);
|
||||
ganttChartControl.addProject(project);
|
||||
if (smalldate == ""){
|
||||
smalldate = Date.today();
|
||||
}
|
||||
project = new GanttProjectInfo(1, self.name, smalldate);
|
||||
ganttChartControl.addProject(project);
|
||||
}
|
||||
|
||||
//create child
|
||||
|
||||
Reference in New Issue
Block a user