Skip to content
Permalink
Browse files

Dialog: Partial fix for #3327: When opening a dialog, give focus to t…

…he first tabbable element inside the dialog.
  • Loading branch information...
scottgonzalez committed Sep 11, 2008
1 parent bb84cbf commit 7e9dcd21defaba1038a0a4901d0b02a6817472d9
Showing with 1 addition and 0 deletions.
  1. +1 −0 ui/ui.dialog.js
@@ -290,6 +290,7 @@ $.widget("ui.dialog", {
}
}));

this.uiDialog.find(':tabbable:first').focus();
this._trigger('open', null, { options: this.options });
this._isOpen = true;
},

0 comments on commit 7e9dcd2

Please sign in to comment.
You can’t perform that action at this time.