aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Rowlands <lee.rowlands@previousnext.com.au>2012-07-05 21:23:39 -0400
committerScott González <scott.gonzalez@gmail.com>2012-07-05 21:23:39 -0400
commit5a952856a0013c44bde67f9fcfd7e47826d8cf15 (patch)
tree0cba158a16df9009ff750e12dd28db24ab3a4020
parenta6e6a0504f7ebdee9726cfb31091e6e8b7f62a1d (diff)
downloadjquery-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.js2
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" );