109560 - edit menu in history is broken. r=ben sr=hewitt

This commit is contained in:
blakeross%telocity.com 2002-02-02 05:30:55 +00:00
Родитель a5fd6359f0
Коммит bbd064fab9
3 изменённых файлов: 4 добавлений и 6 удалений

Просмотреть файл

@ -168,8 +168,7 @@ nsHistoryController.prototype =
} else {
stringId = "deleteHostNoSelection";
}
text = gHistoryBundle.stringBundle.formatStringFromName(stringId,
[ gLastHostname ], 1);
text = gHistoryBundle.getFormattedString(stringId, [ gLastHostname ]);
gDeleteByHostname.setAttribute("label", text);
break;
case "cmd_deleteByDomain":
@ -179,8 +178,7 @@ nsHistoryController.prototype =
} else {
stringId = "deleteDomainNoSelection";
}
text = gHistoryBundle.stringBundle.formatStringFromName(stringId,
[ gLastDomain ], 1);
text = gHistoryBundle.getFormattedString(stringId, [ gLastDomain ]);
gDeleteByDomain.setAttribute("label", text);
}
return enabled;

Просмотреть файл

@ -19,7 +19,7 @@
Rights Reserved.
Contributor(s):
Blake Ross <BlakeR1234@aol.com>
Blake Ross <blaker@netscape.com>
-->

Просмотреть файл

@ -75,7 +75,7 @@
context="historyMenu"
datasources="rdf:history" ref="NC:HistoryByDate" flags="dont-build-content"
onkeypress="if (event.keyCode == 13) OpenURL(event.ctrlKey || event.metaKey);"
onselect="this.parentNode.outlinerBoxObject.view.selectionChanged();
onselect="this.outlinerBoxObject.view.selectionChanged();
historyOnSelect();"
ondraggesture="if (event.originalTarget.localName == 'outlinerchildren') nsDragAndDrop.startDrag(event, historyDNDObserver);"
ondblclick="if (event.button == 0) OpenURL(event.ctrlKey || event.metaKey);">