Fix for context menus not working in new windows opened from links with a _new target. b=76327, r=valeski@netscape.com, sr=rpotts@netscape.com

This commit is contained in:
locka%iol.ie 2001-04-17 23:04:13 +00:00
Родитель cd263a6f2e
Коммит 9c4762f9bf
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -667,7 +667,6 @@ NS_IMETHODIMP nsWebBrowser::SaveURI(nsIURI *aURI, nsIInputStream *aPostData, con
persist->AddRef();
persist->SetProgressListener(mProgressListener);
nsresult rv = persist->SaveURI(aURI, aPostData, aFileName);
persist->Release();
return rv;
}
@ -970,6 +969,7 @@ NS_IMETHODIMP nsWebBrowser::Create()
NS_ENSURE_SUCCESS(mDocShellAsWin->Create(), NS_ERROR_FAILURE);
mDocShellTreeOwner->AddToWatcher(); // evil twin of Remove in SetDocShell(0)
mDocShellTreeOwner->AddChromeListeners();
delete mInitInfo;
mInitInfo = nsnull;