version 2.1.1

Hi there,

We have purchased the pro version of the gantt chart and are experiencing an issue with this version.

The onAfterTaskAdd event no longer seems to work when I click on the add task icon. This works ok in previous versions. I see the task appear on the chart ok but in my code I have an event handler for this event and it is never called.

evtID = gantt.attachEvent(“onAfterTaskAdd”, function(id,item){

  //My code is here

});

Any ideas?

Thanks,
Rosanna

I figured out that clicking the add button now calls the onBeforeLightbox event instead of onbeforetaskadd and onaftertask add.

I was able to catch the event at that point and run my code. I’d love to know if this is a change in this version though as my previous code worked fine on the older versions.

Rosanna