Bug 941568 - [Australis] History subview shows no URLs/addresses in the tooltips. r=Unfocused

This commit is contained in:
Jared Wein 2013-12-17 21:11:57 -05:00
Родитель 38ed5dec6f
Коммит 686dbc4721
2 изменённых файлов: 4 добавлений и 3 удалений

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

@ -43,11 +43,11 @@
label="&appMenuHistory.restoreSession.label;"
command="Browser:RestoreLastSession"/>
<menuseparator id="PanelUI-recentlyClosedTabs-separator"/>
<vbox id="PanelUI-recentlyClosedTabs"/>
<vbox id="PanelUI-recentlyClosedTabs" tooltip="bhTooltip"/>
<menuseparator id="PanelUI-recentlyClosedWindows-separator"/>
<vbox id="PanelUI-recentlyClosedWindows"/>
<vbox id="PanelUI-recentlyClosedWindows" tooltip="bhTooltip"/>
<menuseparator id="PanelUI-historyItems-separator"/>
<vbox id="PanelUI-historyItems"/>
<vbox id="PanelUI-historyItems" tooltip="bhTooltip"/>
<label value="&appMenuHistory.showAll.label;"
id="PanelUI-historyMore"
class="text-link"

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

@ -99,6 +99,7 @@ const CustomizableWidgets = [{
let item = doc.createElementNS(kNSXUL, "toolbarbutton");
item.setAttribute("label", title || uri);
item.setAttribute("tabindex", "0");
item.setAttribute("targetURI", uri);
item.addEventListener("command", function (aEvent) {
onHistoryVisit(uri, aEvent, item);
});