fix for bug #389032: problems when changing search scope within Bookmarks Manager

r=mano
This commit is contained in:
sspitzer@mozilla.org 2007-07-21 01:34:42 -07:00
Родитель b88592c6d6
Коммит 746eae6c09
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -361,7 +361,7 @@ var PlacesSearchBox = {
switch (PlacesSearchBox.filterCollection) { switch (PlacesSearchBox.filterCollection) {
case "collection": case "collection":
var folderId = content.getResult().root.itemId; var folderId = PlacesOrganizer._places.selectedNode.itemId;
content.applyFilter(filterString, true, [folderId], OptionsFilter); content.applyFilter(filterString, true, [folderId], OptionsFilter);
PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString); PO.setHeaderText(PO.HEADER_TYPE_SEARCH, filterString);
break; break;