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

This commit is contained in:
Lee Rowlands 2012-07-05 21:23:39 -04:00 committed by Scott González
parent a6e6a0504f
commit 5a952856a0

View File

@ -316,7 +316,7 @@ $.widget("ui.dialog", {
return;
}
var tabbables = $( ":tabbable", this ),
var tabbables = $( ":tabbable", uiDialog ),
first = tabbables.filter( ":first" ),
last = tabbables.filter( ":last" );