bug #96418 (r=valeski, sr=mscott). SaveAs dialog not shown when saving file...

This commit is contained in:
rpotts%netscape.com 2001-08-24 18:45:11 +00:00
Родитель 63b08c267d
Коммит 1da1ff6b05
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -119,7 +119,10 @@ nsDSURIContentListener::DoContent(const char* aContentType,
}
rv = mDocShell->CreateContentViewer(aContentType, request, aContentHandler);
if (NS_FAILED(rv)) return NS_ERROR_FAILURE; // it's okay if we don't know how to handle the content
if (NS_FAILED(rv)) {
// it's okay if we don't know how to handle the content
return NS_OK;
}
if(loadFlags & nsIChannel::LOAD_RETARGETED_DOCUMENT_URI)
mDocShell->SetFocus();