It appears that the following code behaves differently between my IE 5.5 Test system and an IE 6.0 one. In IE 5.5 the following line actually executes the TreeView.keyEscape function (o55 in FlyTreeView.htc), with a null parameter:
if( typeof( TreeView.keyEscape ) == "undefined" return;
So, I put a try/catch block around it so that if it fails, it just returns as if it was "undefined":
The following function is in node.htc
function o100(){
if (element.parentNode.LoadingMessage != null ){
TreeView = element.parentNode;
try
{
if (typeof(TreeView.keyEscape) == "undefined") return;
}
catch(e){ return; }
o1 = TreeView.NodesXmlDoc.documentElement.childNodes.item(o0 - 1);
} else {
ParentNode = element.parentNode.parentNode.parentNode.parentNode;
TreeView = ParentNode.TreeView;
try
{
if (typeof(TreeView.keyEscape) == "undefined") return;
}
catch(e){ return; }
o1 = ParentNode.XmlElement.childNodes.item(o0 - 1);
}
It now works.