Commit 50ac4fdf authored by dietrich@mozilla.com's avatar dietrich@mozilla.com
Browse files

Bug 430659 - Saved search in sidebar does not work. (r=mano, a=damon)

parent f67bfe83
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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;
    }