зеркало из https://github.com/mozilla/pjs.git
fix for bug #387172: text in search box in bookmark manager doesn't update until I switch folders
patch=Steve Won <swon@mozilla.com> r=sspitzer
This commit is contained in:
Родитель
770ed22a83
Коммит
a5f5199c9c
|
@ -217,10 +217,8 @@ var PlacesOrganizer = {
|
|||
var findCommand = document.getElementById("OrganizerCommand_find:current");
|
||||
var findLabel = PlacesUtils.getFormattedString("findInPrefix", [node.title]);
|
||||
findCommand.setAttribute("label", findLabel);
|
||||
if (PlacesSearchBox.filterCollection == "collection") {
|
||||
if (PlacesSearchBox.filterCollection == "collection")
|
||||
PlacesSearchBox.updateCollectionTitle(node.title);
|
||||
PlacesSearchBox.syncGrayText();
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -410,6 +408,8 @@ var PlacesSearchBox = {
|
|||
}
|
||||
else
|
||||
this.searchFilter.grayText = PlacesUtils.getString("searchByDefault");
|
||||
|
||||
this.syncGrayText();
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче