diff options
author | Lee Rowlands <lee.rowlands@previousnext.com.au> | 2012-07-05 21:23:39 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-07-05 21:23:39 -0400 |
commit | 5a952856a0013c44bde67f9fcfd7e47826d8cf15 (patch) | |
tree | 0cba158a16df9009ff750e12dd28db24ab3a4020 | |
parent | a6e6a0504f7ebdee9726cfb31091e6e8b7f62a1d (diff) | |
download | jquery-ui-5a952856a0013c44bde67f9fcfd7e47826d8cf15.tar.gz jquery-ui-5a952856a0013c44bde67f9fcfd7e47826d8cf15.zip |
Dialog: Prevent tabbing out of modal dialog. Partial fix for #7862 - Dialog: modal accessibility.
-rw-r--r-- | ui/jquery.ui.dialog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 818363d0b..85e4b3e2b 100644 --- a/ui/jquery.ui.dialog.js +++ b/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" ); |