Skip to main content

Search and Top Navigation

#2540 closed bug (fixed)

Opened March 18, 2008 01:22PM UTC

Closed April 20, 2008 02:35PM UTC

Last modified February 26, 2009 11:27AM UTC

UI Dialog ESC key

Reported by: tonyt Owned by: scottgonzalez
Priority: minor Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

When we open more than one dialog only the last opened dialog is closed with esc key. The other does not close with ESC key.

To reproduce this. In demo page - open all the dialogs whitout closing them. Press ESC key. Only the last opened dialog is closed. The other can not be closed with ESC keys

Attachments (0)
Change History (4)

Changed March 19, 2008 01:15PM UTC by paul comment:1

owner: paulscott.gonzalez

Changed April 20, 2008 02:35PM UTC by scottgonzalez comment:2

resolution: → fixed
status: newclosed

Fixed in [5272]. As long as an element in the dialog has focus, pressing escape will close the dialog.

I also added an option closeOnEscape (defaults to true) for controlling this behavior.

Changed May 24, 2008 03:39AM UTC by comment:3

milestone: 1.2.3

Milestone 1.2.3 deleted

Changed February 26, 2009 11:27AM UTC by paul comment:4

milestone: → 1.5