diff --git a/mozilla/xpfe/components/history/resources/history.js b/mozilla/xpfe/components/history/resources/history.js index 677495aa6c7..b832a1da48b 100644 --- a/mozilla/xpfe/components/history/resources/history.js +++ b/mozilla/xpfe/components/history/resources/history.js @@ -417,10 +417,14 @@ function updateItems() bookmarkItem.setAttribute("hidden", "true"); copyLocationItem.setAttribute("hidden", "true"); sep1.setAttribute("hidden", "true"); - if (isContainerOpen(gHistoryTree, currentIndex)) + if (isContainerOpen(gHistoryTree, currentIndex)) { collapseExpandItem.setAttribute("label", gHistoryBundle.getString("collapseLabel")); - else + collapseExpandItem.setAttribute("accesskey", gHistoryBundle.getString("collapseAccesskey")); + } + else { collapseExpandItem.setAttribute("label", gHistoryBundle.getString("expandLabel")); + collapseExpandItem.setAttribute("accesskey", gHistoryBundle.getString("expandAccesskey")); + } return true; } collapseExpandItem.setAttribute("hidden", "true"); diff --git a/mozilla/xpfe/components/history/resources/historyTreeOverlay.xul b/mozilla/xpfe/components/history/resources/historyTreeOverlay.xul index f30c48a04c9..5870103a4b5 100644 --- a/mozilla/xpfe/components/history/resources/historyTreeOverlay.xul +++ b/mozilla/xpfe/components/history/resources/historyTreeOverlay.xul @@ -54,7 +54,7 @@ - + -