Fix up for current browser...
This commit is contained in:
4
node.js
Normal file → Executable file
4
node.js
Normal file → Executable 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;
|
||||
|
||||
Reference in New Issue
Block a user