Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Dialog: Prevent tabbing off any dialog. Fixes #3768 - Dialog: contain fo... #749

Closed
wants to merge 1 commit into from

3 participants

@scottgonzalez

Thanks, we're going to hold on to this until we branch for 1-9-stable.

@jzaefferer jzaefferer referenced this pull request
Merged

Dialog Redesign #787

@jzaefferer
Owner

Thanks, landed in 3a09a4a

@jzaefferer jzaefferer closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 15, 2012
  1. @DavidSouther
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 ui/jquery.ui.dialog.js
View
4 ui/jquery.ui.dialog.js
@@ -171,9 +171,9 @@ $.widget("ui.dialog", {
uiDialog.bgiframe();
}
- // prevent tabbing out of modal dialogs
+ // prevent tabbing out of dialogs
this._on( uiDialog, { keydown: function( event ) {
- if ( !options.modal || event.keyCode !== $.ui.keyCode.TAB ) {
+ if ( event.keyCode !== $.ui.keyCode.TAB ) {
return;
}
Something went wrong with that request. Please try again.