Skip to content

Commit 443236b

Browse files
committed
Dialog: move to top when opening again, and focus as if opened from scratch.
1 parent 7c876dc commit 443236b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/jquery.ui.dialog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,8 @@ $.widget("ui.dialog", {
279279

280280
open: function() {
281281
if ( this._isOpen ) {
282+
this.moveToTop( null, true );
283+
this._focusTabbable();
282284
return;
283285
}
284286

0 commit comments

Comments
 (0)