Bug 637160 - window-modal prompts used instead of tab-modal prompts when reentering a page using back/forward. r=bz

This commit is contained in:
Justin Dolske
2011-04-19 14:18:17 -07:00
parent 7591952285
commit 4751e18f61

View File

@@ -1360,6 +1360,8 @@ DocumentViewerImpl::Open(nsISupports *aState, nsISHEntry *aSHEntry)
nsresult rv = InitInternal(mParentWidget, aState, mBounds, PR_FALSE);
NS_ENSURE_SUCCESS(rv, rv);
mHidden = PR_FALSE;
if (mPresShell)
mPresShell->SetForwardingContainer(nsnull);