mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Dialog: move to top when opening again, and focus as if opened from scratch.
This commit is contained in:
parent
8ee8046c02
commit
0a25b2c448
2
ui/jquery.ui.dialog.js
vendored
2
ui/jquery.ui.dialog.js
vendored
@ -279,6 +279,8 @@ $.widget("ui.dialog", {
|
||||
|
||||
open: function() {
|
||||
if ( this._isOpen ) {
|
||||
this.moveToTop( null, true );
|
||||
this._focusTabbable();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user