Hi Dragosu,
I built a tree with a menu to add/remove item.
For each change, I dump tree content with method serialize of the acitree API.
I noticed that if I remove an item than the remove callback is called before the item is really removed.
According to the acitree source code, we can see the following scheduling of methods calls :
// just remove the item
this._success(item, options);
this._removeItem(item);
Could you please confirm or infirm the problem ?
If it's confirmed than could you help me to solve it ?
Thank you in advance for your response.
Best regards,
Franck
Hi Dragosu,
I built a tree with a menu to add/remove item.
For each change, I dump tree content with method serialize of the acitree API.
I noticed that if I remove an item than the remove callback is called before the item is really removed.
According to the acitree source code, we can see the following scheduling of methods calls :
// just remove the item
this._success(item, options);
this._removeItem(item);
Could you please confirm or infirm the problem ?
If it's confirmed than could you help me to solve it ?
Thank you in advance for your response.
Best regards,
Franck