diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-10-26 11:08:35 -0400 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-11-26 10:26:11 +0100 |
commit | 0a25b2c4483b799e904f9dcd2100e27c488c8f20 (patch) | |
tree | 06334b2c9f536e594b9fee5b268900703e4ff395 /ui/jquery.ui.dialog.js | |
parent | 8ee8046c029354501bc6d1690b3ac84edf23efd7 (diff) | |
download | jquery-ui-0a25b2c4483b799e904f9dcd2100e27c488c8f20.tar.gz jquery-ui-0a25b2c4483b799e904f9dcd2100e27c488c8f20.zip |
Dialog: move to top when opening again, and focus as if opened from scratch.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index ed1e55beb..c25b28f71 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -279,6 +279,8 @@ $.widget("ui.dialog", { open: function() { if ( this._isOpen ) { + this.moveToTop( null, true ); + this._focusTabbable(); return; } |