Fix up for current browser...

This commit is contained in:
root
2020-04-27 15:35:11 -05:00
parent 2afa6ebfe8
commit 7ce0a38763
80 changed files with 56 additions and 268 deletions

4
node.js Normal file → Executable file
View File

@@ -315,7 +315,7 @@ function node(PKey,nodeText) {
}
function fromXML(inXML){
if (inXML.nodeName=="NODE") {
if (inXML.nodeName.toUpperCase()=="NODE") {
m_PKey=inXML.getAttribute("pkey");
m_displayDom.style.left=inXML.getAttribute("offsetleft")+"px";
m_displayDom.style.top=inXML.getAttribute("offsettop")+"px";
@@ -323,7 +323,7 @@ function node(PKey,nodeText) {
var freeRelations = new Array();
for (var i=0;i<inXML.childNodes.length;i++){
var theChildNode=inXML.childNodes[i];
switch(theChildNode.nodeName){
switch(theChildNode.nodeName.toUpperCase()){
case "ICONS":
m_iconControl=new iconControl().fromXML(theChildNode);
break;