Categories | Question details Back To List | ||
dhtmlxTree smartRefreshBranch err -Node cannot be inserted at the specified point in the hierarchy" code: "3 Firefox firebug throws up an error when using tree.smartRefreshBranch(0,"xml/tree_a.xml"); I thought it was how I was generating xml but then I tried loading TREEPRO/dhtmlxTree/samples/appearance/tree_a.xml with the same result. -------------------firebug-------------------------------------------------------- Node cannot be inserted at the specified point in the hierarchy" code: "3 [Break on this error] window.gbar={qs:function(){},tg:function...sd")||document.body).appendChild(a)},0); www.google.co.uk (line 6) ? in www.google.co.uk@6()www.google.co.uk (line 6) ? in www.google.co.uk@6()www.google.co.uk (line 6) [Break on this error] window.gbar={qs:function(){},tg:function...sd")||document.body).appendChild(a)},0); Node cannot be inserted at the specified point in the hierarchy" code: "3 [Break on this error] temp.htmlNode.childNodes[0].appendChild(this.parsedArray[i]); dhtmlxtree.js (line 1056) --------------------code------------------------------------------------------------ 1050 this.deleteItem(temp.childNodes[i].id); 1051 } 1052 1053 var parsedNodeTop=this._globalIdStorageFind(this.parsingOn); 1054 1055 for (var i=0; i<this.parsedArray.length; i++) 1056 temp.htmlNode.childNodes[0].appendChild(this.parsedArray[i]); 1057 1058 this.lastLoadedXMLId=parentId; 1059 this.XMLloadingWarning=0; 1060 1061 var chArr=th --------------breakpoint----------------------------------------------------------------- Odd as shows error at breakpoint 1056 is before executed temp.htmlNode.childNodes[0].appendChild(this.parsedArray[i] = SyntaxError: missing ) after argument list temp.htmlNode = table temp.htmlNode.childNodes[0] = tbody lengh 1 this.parsedArray =[tr 0=tr] length = 1 Answer posted by Alex (support) on Jun 16, 2009 03:17 Hello, There are two possible reasons for that issue: 1) using smart rendering - this mode doesn't allow to use smartRefreshBranch; 2) it is possible that you use some FireFox plug-in that causes the problem. Answer posted by Eddie on Jul 07, 2009 15:17 Hello I've got the exact same problem, but it is not firefox related. Is there an update about this issue? Answer posted by Alex (support) on Jul 08, 2009 05:29 Hello, please, check the possible reasons that we mentioned in the previous reply. If they are not actual in your case, please, provide the sample to re-create the issue |