bug 162020 option to delay enabling confirmation buttons r=mkaply,sr=sspitzer

This commit is contained in:
dveditz@cruzio.com
2004-06-05 09:26:01 +00:00
parent 22526de01b
commit 3a479a04bc
8 changed files with 66 additions and 8 deletions

View File

@@ -291,6 +291,8 @@ nsPromptService::ConfirmEx(nsIDOMWindow *parent,
#define BUTTON_DEFAULT_MASK 0x03000000
block->SetInt(eDefaultButton, (buttonFlags & BUTTON_DEFAULT_MASK) >> 24);
block->SetInt(eDelayButtonEnable, buttonFlags & BUTTON_DELAY_ENABLE);
PRInt32 numberButtons = 0;
for (int i = 0; i < 3; i++) {