do this, otherwise rv will be failure in all cases, even when Prompt
succeedes. git-svn-id: svn://10.0.0.236/trunk@58544 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -156,7 +156,7 @@ NS_IMETHODIMP nsNetSupportDialog::Prompt(const PRUnichar *text,
|
||||
nsresult rv = NS_ERROR_FAILURE;
|
||||
nsCOMPtr< nsIPrompt> dialogService;
|
||||
if( GetNSIPrompt( dialogService ) )
|
||||
dialogService->Prompt( text, defaultText, resultText, returnValue );
|
||||
rv = dialogService->Prompt( text, defaultText, resultText, returnValue );
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user