Javascript urls from dropdown don't replace location box (69095). r=kerz sr=ben

This commit is contained in:
blakeross%telocity.com 2006-09-14 06:00:10 +00:00
parent 667eb93f51
commit 2cfa471057

View File

@ -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);
}
}