open new windows from anchor links with proper chrome. fixes bug 9792.
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