diff --git a/suite/common/history/findHistory.js b/suite/common/history/findHistory.js index ad8acb11585c..4fc8d0b65b6f 100644 --- a/suite/common/history/findHistory.js +++ b/suite/common/history/findHistory.js @@ -41,7 +41,7 @@ var gSearchField; function Startup() { var bundle = document.getElementById("historyBundle"); - gOKButton = document.getElementById("ok"); + gOKButton = document.documentElement.getButton("accept"); gOKButton.label = bundle.getString("search_button_label"); gOKButton.disabled = true; gSearchField = document.getElementById("searchField");