Removed hack to work around bug 7803.

This commit is contained in:
hangas%netscape.com 1999-06-15 01:57:49 +00:00
parent 5da6a94442
commit d652cf4be1

@ -48,10 +48,6 @@ function ChangeDirectoryByDOMNode(dirNode)
var uri = dirNode.getAttribute('id');
dump(uri + "\n");
ChangeDirectoryByURI(uri);
// HACK to clear the card view pane - when onchange="MyOnChangeFunction()" is working
// then we can do this correctly
ClearCardViewPane();
}
function ChangeDirectoryByURI(uri)
@ -214,12 +210,14 @@ function cvSetNode(node, text)
node.childNodes[0].nodeValue = text;
if ( text == "" )
{
node.style.display = "none";
node.setAttribute("style", "display:none");
//node.style.display = "none";
return false;
}
else
{
node.style.display = "block";
node.setAttribute("style", "display:block");
//node.style.display = "block";
return true;
}
}
@ -227,9 +225,11 @@ function cvSetNode(node, text)
function cvSetVisible(node, visible)
{
if ( visible )
node.style.display = "block";
node.setAttribute("style", "display:block");
//node.style.display = "block";
else
node.style.display = "none";
node.setAttribute("style", "display:none");
//node.style.display = "none";
}
// -------