mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Dialog: move to top when opening again, and focus as if opened from scratch.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user