Hi,
I’m trying to figure out how to manually update a task with the modified lightbox values after blocking the lightbox save. I’m blocking that because of a validation question, but when the user clicks Yes, I have to manually save the task somehow.
The updated task is in the task object of the onLightboxSave event, but how can I update this?
Thank you.
Maurice
gantt.confirm({
text: vWarnSchedsametrade,
ok: vYes,
cancel: vNo,
callback: function(result) {
//console.log(result);
if (result == true) {
//gantt.updateTask(id);
console.log(id);
console.log(task);
//save task manually
gantt.hideLightbox();
}
else {
return false;
}
}
});