Bug 968384 - make the bookmarks item not say 'undefined' in the overflow menu, r=mconley

This commit is contained in:
Gijs Kruitbosch 2014-02-05 20:30:03 +00:00
parent 806ca0235f
commit 320536be95

View File

@ -1446,12 +1446,12 @@ let BookmarkingUI = {
_starButtonLabel: null,
get _starButtonOverflowedLabel() {
delete this._starButtonOverflowedLabel;
this._starButtonOverflowedLabel =
return this._starButtonOverflowedLabel =
gNavigatorBundle.getString("starButtonOverflowed.label");
},
get _starButtonOverflowedStarredLabel() {
delete this._starButtonOverflowedStarredLabel;
this._starButtonOverflowedStarredLabel =
return this._starButtonOverflowedStarredLabel =
gNavigatorBundle.getString("starButtonOverflowedStarred.label");
},
onWidgetOverflow: function(aNode, aContainer) {