mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 01:01:52 +00:00
Javascript urls from dropdown don't replace location box (69095). r=kerz sr=ben
This commit is contained in:
parent
667eb93f51
commit
2cfa471057
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user