Bug 27846. Accomodate for XBL-ization of the tree code. r=hyatt

This commit is contained in:
waterson%netscape.com 2000-02-15 22:23:32 +00:00
parent 57807b6a9f
commit 44b2cd18e9
2 changed files with 5 additions and 6 deletions

View File

@ -33,17 +33,17 @@ treecol[sortActive="true"] {
}
/* Hide the twisty when type != DIRECTORY (XXX is there a '!=' in CSS?) */
treeitem[type="FILE"] > treerow > treecell > .tree-icon > .twisty {
treeitem[type="FILE"] > treerow > treecell > .twisty {
list-style-image: none;
}
/* Show an animated icon when a directory is loading */
treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .tree-icon > .twisty {
treeitem[type="DIRECTORY"][loading="true"] > treerow > treecell > .twisty {
list-style-image: url("resource:/res/rdf/loading.gif");
}
/* Show an animated icon when a symbolic link is loading */
treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > treecell > .tree-icon > .twisty {
treeitem[type="SYMBOLIC-LINK"][loading="true"] > treerow > treecell > .twisty {
list-style-image: url("resource:/res/rdf/loading.gif");
}

View File

@ -63,9 +63,8 @@ function OnClick(event)
// <treeitem>
// <treerow>
// <treecell>
// <box> <!-- anonymous -->
// <titledbutton class="twisty"> <!-- anonymous -->
var treeitem = event.target.parentNode.parentNode.parentNode.parentNode;
// <titledbutton class="twisty"> <!-- anonymous -->
var treeitem = event.target.parentNode.parentNode.parentNode;
ToggleOpenState(treeitem);
}
else {