Closed Bug 22664 Opened 25 years ago Closed 25 years ago

alert/confirm/prompt dialogs don't have focus/do not react on enter

Categories

(Core :: DOM: Core & HTML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: martin.honnen, Assigned: danm.moz)

References

()

Details

Attachments

(1 file)

When using the javascript dialogs alert/confirm/prompt the dialog window comes
up but doesn't have the focus.
With dom level 0 browsers they have and pressing enter clicks the default button
in the dialog. With M12 on win98 you need to use the mouse to press the buttons
in the dialog.

<BUTTON ONCLICK="alert('Kibology');">
alert
</BUTTON>
<BUTTON ONCLICK="prompt('Name', 'Kibo');">
prompt
</BUTTON>
<BUTTON ONCLICK="confirm('Kibologist?');">
confirm
</BUTTON>

It might be more a user interface/dialog issue than a dom level 0 one but I am
uncertain about a fitting category.
Attached file bug demo
Assignee: vidur → danm
Dan, is this your bug? If not, please reassign and let me know who owns the
dialogs for future reference.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Can't reproduce with today's build. I assume this was some transient problem with
key bindings. That code is thoroughly under development and breaks every now
and then.
Status: RESOLVED → VERIFIED
Verified with 2000-01-11-09.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: