Permalink
Browse files

Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - …

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

0 comments on commit 5a95285

Please sign in to comment.