Hi.
I want to update the progress in a project when I modify a progress in a task.
My problem is the project’s progress in calculated but does not update in the server side.
I do:
gantt.attachEvent(“onBeforeTaskUpdate”, function(id,new_item){
gantt.getTask(id_father).progress = progress_father; //changes task’s data
gantt.updateTask(id_father);
});
When run the last instruction: gantt.updateTask(id_father);
the code break and give me a error: (undefined) in the right side on top
Thanks