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

git-svn-id: svn://10.0.0.236/trunk@43028 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
danm%netscape.com
1999-08-10 21:36:38 +00:00
parent 4fa3366433
commit ecc547c3ad
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);