fix free relations loading

This commit is contained in:
root
2020-04-27 20:26:34 -05:00
parent 0849a803ea
commit 8104f998e1

4
webRequest.js Normal file → Executable file
View File

@@ -59,7 +59,7 @@ function createFreeRelations(docEle){
if (theChild.childNodes.length>0){
createFreeRelations(theChild);
}
if (theChild.nodeName=="NODEREL"){
if (theChild.nodeName.toUpperCase()=="NODEREL"){
if (theChild.getAttribute("relationtype")!="main"){
var newNodeRel=new nodeRel().fromXML(theChild);
newNodeRel.redraw();
@@ -240,4 +240,4 @@ function getUserInfo(attribute) {
var parser=new DOMParser();
var doc=parser.parseFromString(txtResp,"text/xml");
return(doc.documentElement.getAttribute(attribute));
}
}