Set focus to content area when opening bookmark (from pt or menu) (62765). r=kerz sr=ben

This commit is contained in:
blakeross%telocity.com 2006-09-14 05:59:57 +00:00
parent 8dae47f879
commit e254c1d594

View File

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