Set check value in ConfirmCheck even if cancel is pressed. b=218021 r=adamlock sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146992 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -255,10 +255,8 @@ nsPromptService::ConfirmCheck(nsIDOMWindow *parent,
|
||||
block->GetInt(eButtonPressed, &tempInt);
|
||||
*_retval = tempInt ? PR_FALSE : PR_TRUE;
|
||||
|
||||
if (*_retval) {
|
||||
block->GetInt(eCheckboxState, & tempInt);
|
||||
*checkValue = PRBool( tempInt );
|
||||
}
|
||||
block->GetInt(eCheckboxState, & tempInt);
|
||||
*checkValue = PRBool( tempInt );
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user