mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
Bug 27846. Accomodate for XBL-ization of the tree code. r=hyatt
This commit is contained in:
parent
57807b6a9f
commit
44b2cd18e9
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user