Bug 588817 - Using "Bookmark all tabs" initially mislabels new folder menuitem in Bookmarks menu. r=mak a=blocking-betaN

This commit is contained in:
Margaret Leibovic 2010-11-05 14:03:42 -07:00
parent 67226735be
commit 608d6801ae

View File

@ -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);
}
},