fix free relations loading
This commit is contained in:
4
webRequest.js
Normal file → Executable file
4
webRequest.js
Normal file → Executable file
@@ -59,7 +59,7 @@ function createFreeRelations(docEle){
|
|||||||
if (theChild.childNodes.length>0){
|
if (theChild.childNodes.length>0){
|
||||||
createFreeRelations(theChild);
|
createFreeRelations(theChild);
|
||||||
}
|
}
|
||||||
if (theChild.nodeName=="NODEREL"){
|
if (theChild.nodeName.toUpperCase()=="NODEREL"){
|
||||||
if (theChild.getAttribute("relationtype")!="main"){
|
if (theChild.getAttribute("relationtype")!="main"){
|
||||||
var newNodeRel=new nodeRel().fromXML(theChild);
|
var newNodeRel=new nodeRel().fromXML(theChild);
|
||||||
newNodeRel.redraw();
|
newNodeRel.redraw();
|
||||||
@@ -240,4 +240,4 @@ function getUserInfo(attribute) {
|
|||||||
var parser=new DOMParser();
|
var parser=new DOMParser();
|
||||||
var doc=parser.parseFromString(txtResp,"text/xml");
|
var doc=parser.parseFromString(txtResp,"text/xml");
|
||||||
return(doc.documentElement.getAttribute(attribute));
|
return(doc.documentElement.getAttribute(attribute));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user