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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user