From 746eae6c09d3684641d3c3940226b3b4b76ad9ea Mon Sep 17 00:00:00 2001 From: "sspitzer@mozilla.org" Date: Sat, 21 Jul 2007 01:34:42 -0700 Subject: [PATCH] fix for bug #389032: problems when changing search scope within Bookmarks Manager r=mano --- browser/components/places/content/places.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/places/content/places.js b/browser/components/places/content/places.js index 6db27a1368c..8c4e9434e1c 100755 --- a/browser/components/places/content/places.js +++ b/browser/components/places/content/places.js @@ -361,7 +361,7 @@ var PlacesSearchBox = { switch (PlacesSearchBox.filterCollection) { case "collection": - var folderId = content.getResult().root.itemId; + var folderId = PlacesOrganizer._places.selectedNode.itemId; content.applyFilter(filterString, true, [folderId], OptionsFilter); PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString); break;