diff --git a/mozilla/toolkit/components/help/content/help.js b/mozilla/toolkit/components/help/content/help.js index 9f5ac4d6b11..c41ed9b0ace 100644 --- a/mozilla/toolkit/components/help/content/help.js +++ b/mozilla/toolkit/components/help/content/help.js @@ -560,6 +560,10 @@ function showPanel(panelId) { document.getElementById("help-toc-btn").removeAttribute("selected"); //add the selected style to the correct panel. theButton.setAttribute("selected", "true"); + + //focus the searchbox if the search sidebar panel is shown. + if (panelId == "help-search") + document.getElementById("findText").focus(); } function findParentNode(node, parentNode)