open new windows from anchor links with proper chrome. fixes bug 9792.

This commit is contained in:
danm%netscape.com 1999-08-10 21:36:38 +00:00
parent 54c490c229
commit ae834a75d9
2 changed files with 2 additions and 2 deletions

View File

@ -2984,7 +2984,7 @@ nsWebShell::GetTarget(const PRUnichar* aName)
if (nsnull != mContainer) {
mContainer->FindWebShellWithName(aName, target);
if (nsnull == target) {
mContainer->NewWebShell(PRUint32(~0), PR_TRUE, target);
mContainer->NewWebShell(NS_CHROME_ALL_CHROME, PR_TRUE, target);
}
if (nsnull != target) {
target->SetName(aName);

View File

@ -2984,7 +2984,7 @@ nsWebShell::GetTarget(const PRUnichar* aName)
if (nsnull != mContainer) {
mContainer->FindWebShellWithName(aName, target);
if (nsnull == target) {
mContainer->NewWebShell(PRUint32(~0), PR_TRUE, target);
mContainer->NewWebShell(NS_CHROME_ALL_CHROME, PR_TRUE, target);
}
if (nsnull != target) {
target->SetName(aName);