Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by n.darques on Feb 26, 2009 08:40
open dhtmlx forum
dhtmlxTree Edit items with childCalc on

Hello guys,

I think, I've just ran into a bug .
When editin a item of a dhtmlxTree whith child calculation on, I get this error when I quit editing :
itemNode is null thrown by _fixChildCountLabel()

When I look at code of 'dhtmlxtree_ed.js', I noticed that :

94 var id=this._editCell.id; this._editCell=null;
95    
96 if (this.childCalc) this._fixChildCountLabel(this._editCell);

Shouldn't be this :

94 var id=this._editCell.id;
95 if (this.childCalc) this._fixChildCountLabel(this._editCell);
96 this._editCell=null;

Thanks for you attention.
Answer posted by Alex (support) on Feb 26, 2009 09:33

Hello, 

Thank you for the provided information.

Actually there is the bug in the dhtmlxtree_ed.js. The fix will be included into the next tree release.