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
Родитель 62611b3e52
Коммит acc6ecc70e
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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);