Permalink
Browse files

Dialog: Possible to tab outside modal dialog. Partial fix for #7862 -…

… dialog: modal accessibility
  • Loading branch information...
1 parent c942575 commit bb2c897f128e42dc8ad485719ee260d86e56befe @larowlan committed Jul 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.dialog.js
View
2 ui/jquery.ui.dialog.js
@@ -315,7 +315,7 @@ $.widget("ui.dialog", {
return;
}
- var tabbables = $( ":tabbable", this ),
+ var tabbables = $( ":tabbable", this.uiDialog ),
first = tabbables.filter( ":first" ),
last = tabbables.filter( ":last" );

0 comments on commit bb2c897

Please sign in to comment.