зеркало из https://github.com/mozilla/pjs.git
fix for bug #389032: problems when changing search scope within Bookmarks Manager
r=mano
This commit is contained in:
Родитель
b88592c6d6
Коммит
746eae6c09
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче