зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug # 72995. r=morse, mcafee. sr=alecf
This commit is contained in:
Родитель
29502ab302
Коммит
f54ac9de78
|
@ -285,7 +285,7 @@ oncommand="goPreferences('pref-themes.xul','chrome://communicator/content/pref/p
|
|||
<menuitem id="menuitem-back" label="&goBackCmd.label;" accesskey="&goBackCmd.accesskey;" observes="Browser:Back" key="goBackKb"/>
|
||||
<menuitem id="menuitem-forward" label="&goForwardCmd.label;" accesskey="&goForwardCmd.accesskey;" observes="Browser:Forward" key="goForwardKb"/>
|
||||
<menuitem id="menuitem-home" label="&goHomeCmd.label;" accesskey="&goHomeCmd.accesskey;" observes="Browser:Home" key="goHome"/>
|
||||
<menuseparator />
|
||||
<menuseparator hidden="true"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ function FillHistoryMenu(aParent, aMenu)
|
|||
}
|
||||
break;
|
||||
case "go":
|
||||
if (count > 0) aParent.lastChild.removeAttribute( "hidden" );
|
||||
end = count > MAX_HISTORY_MENU_ITEMS ? count - MAX_HISTORY_MENU_ITEMS : 0;
|
||||
for (j = count - 1; j >= end; j--)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче