mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 588817 - Using "Bookmark all tabs" initially mislabels new folder menuitem in Bookmarks menu. r=mak a=blocking-betaN
This commit is contained in:
parent
67226735be
commit
608d6801ae
@ -499,10 +499,10 @@ PlacesViewBase.prototype = {
|
||||
// Many users consider toolbars as shortcuts containers, so explicitly
|
||||
// allow empty labels on toolbarbuttons. For any other element try to be
|
||||
// smarter, guessing a title from the uri.
|
||||
elt.label = PlacesUIUtils.getBestTitle(aPlacesNode);
|
||||
elt.setAttribute("label", PlacesUIUtils.getBestTitle(aPlacesNode));
|
||||
}
|
||||
else {
|
||||
elt.label = aNewTitle;
|
||||
elt.setAttribute("label", aNewTitle);
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user