Hello,
We are facing an issue with version 4.0.6 when resetting the queue, we have the following code:
btnSave.onclick = function (evt) {
configuration.revision++;
gantt.project.crudRevision = configuration.revision;
gantt.crudManager.sync().then(function (data) {
if (data != null) {
var response = data.response;
if (response.success == true) {
gantt.project.stm.resetQueue();
gantt.crudManager.clearChanges();
}
}
});
And we get the following error in the resetQueue line:
We manage to reproduce this using the advanced example code and any model will have the same issue.
Is this the proper way to reset the Queue after sync the changes?