mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: Partial fix for #3327: When opening a dialog, give focus to the first tabbable element inside the dialog.
This commit is contained in:
parent
bb84cbf7fd
commit
7e9dcd21de
@ -290,6 +290,7 @@ $.widget("ui.dialog", {
|
||||
}
|
||||
}));
|
||||
|
||||
this.uiDialog.find(':tabbable:first').focus();
|
||||
this._trigger('open', null, { options: this.options });
|
||||
this._isOpen = true;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user