Bug 170611 - AlertCheck dialog has a cancel button and it shouldn't. r=pink/rs=sfraser.
git-svn-id: svn://10.0.0.236/trunk@133400 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1070a8d232
commit
3bc51b679e
Binary file not shown.
@ -54,6 +54,7 @@ enum {
|
||||
// nsIPrompt
|
||||
enum {
|
||||
dlog_Alert = 1282,
|
||||
dlog_AlertCheck = 1289,
|
||||
dlog_Confirm = 1283,
|
||||
dlog_ConfirmCheck = 1284,
|
||||
dlog_Prompt = 1285,
|
||||
|
||||
@ -110,7 +110,7 @@ NS_IMETHODIMP CPromptService::AlertCheck(nsIDOMWindow *parent, const PRUnichar *
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(checkValue);
|
||||
|
||||
StDialogHandler theHandler(dlog_ConfirmCheck, CBrowserChrome::GetLWindowForDOMWindow(parent));
|
||||
StDialogHandler theHandler(dlog_AlertCheck, CBrowserChrome::GetLWindowForDOMWindow(parent));
|
||||
LWindow *theDialog = theHandler.GetDialog();
|
||||
nsCAutoString cStr;
|
||||
Str255 pStr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user