mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
Bug 430659 - Saved search in sidebar does not work. (r=mano, a=damon)
This commit is contained in:
parent
f67bfe83b4
commit
50ac4fdfa8
@ -943,8 +943,10 @@ PlacesTreeView.prototype = {
|
||||
|
||||
// treat non-expandable queries as non-containers
|
||||
if (PlacesUtils.nodeIsQuery(node)) {
|
||||
asQuery(node);
|
||||
return node.queryOptions.expandQueries;
|
||||
var parent = node.parent;
|
||||
if(PlacesUtils.nodeIsQuery(parent) ||
|
||||
PlacesUtils.nodeIsFolder(parent))
|
||||
return asQuery(parent).queryOptions.expandQueries;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user