mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
open new windows from anchor links with proper chrome. fixes bug 9792.
This commit is contained in:
parent
54c490c229
commit
ae834a75d9
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user