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:
ccarlen%netscape.com 2002-11-08 14:52:52 +00:00
parent 1070a8d232
commit 3bc51b679e
3 changed files with 2 additions and 1 deletions

View File

@ -54,6 +54,7 @@ enum {
// nsIPrompt
enum {
dlog_Alert = 1282,
dlog_AlertCheck = 1289,
dlog_Confirm = 1283,
dlog_ConfirmCheck = 1284,
dlog_Prompt = 1285,

View File

@ -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;