зеркало из https://github.com/mozilla/gecko-dev.git
bug #96418 (r=valeski, sr=mscott). SaveAs dialog not shown when saving file...
This commit is contained in:
Родитель
63b08c267d
Коммит
1da1ff6b05
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче