mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-25 01:01:52 +00:00
Set focus to content area when opening bookmark (from pt or menu) (62765). r=kerz sr=ben
This commit is contained in:
parent
8dae47f879
commit
e254c1d594
@ -597,8 +597,10 @@ function OpenBookmarkURL(node, datasources)
|
||||
return;
|
||||
|
||||
// Check if we have a browser window
|
||||
if (_content)
|
||||
if (_content) {
|
||||
loadURI(url);
|
||||
_content.focus();
|
||||
}
|
||||
else
|
||||
openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no", url);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user