Skip to content
Permalink
Browse files

Dialog: move to top when opening again, and focus as if opened from s…

…cratch.
  • Loading branch information...
jzaefferer committed Oct 26, 2012
1 parent 8ee8046 commit 0a25b2c4483b799e904f9dcd2100e27c488c8f20
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.dialog.js
@@ -279,6 +279,8 @@ $.widget("ui.dialog", {

open: function() {
if ( this._isOpen ) {
this.moveToTop( null, true );
this._focusTabbable();
return;
}

0 comments on commit 0a25b2c

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