diff --git a/suite/browser/sessionHistoryUI.js b/suite/browser/sessionHistoryUI.js index a4e7683c4d38..e131a574727a 100644 --- a/suite/browser/sessionHistoryUI.js +++ b/suite/browser/sessionHistoryUI.js @@ -100,7 +100,13 @@ function executeUrlBarHistoryCommand( aTarget ) var label = aTarget.getAttribute("label"); if (index != "nothing_available" && label) { - loadURI(getShortcutOrURI(label)); + var uri = getShortcutOrURI(label); + if (gURLBar) { + gURLBar.value = uri; + BrowserLoadURL(); + } + else + loadURI(uri); } }