diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-11-09 17:39:59 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-11-26 10:26:12 +0100 |
commit | 4e03321fd7cb41ba43a945982de2cb636fd7c70e (patch) | |
tree | 14f609cbb925f167bfe7d41812608b2af75b6c37 /ui/jquery.ui.dialog.js | |
parent | b6cefc797e1f4cbede6c0d69b0abf993244ea66c (diff) | |
download | jquery-ui-4e03321fd7cb41ba43a945982de2cb636fd7c70e.tar.gz jquery-ui-4e03321fd7cb41ba43a945982de2cb636fd7c70e.zip |
Dialog: Trigger focus event when dialog is moved to top.
Diffstat (limited to 'ui/jquery.ui.dialog.js')
-rw-r--r-- | ui/jquery.ui.dialog.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js index 0ed529345..628139407 100644 --- a/ui/jquery.ui.dialog.js +++ b/ui/jquery.ui.dialog.js @@ -306,8 +306,7 @@ $.widget("ui.dialog", { open: function() { if ( this._isOpen ) { - // TODO don't pass silent flag? should probably trigger focus when moving to top again - this.moveToTop( null, true ); + this.moveToTop( null ); // TODO run this only when dialog wasn't focused? this._focusTabbable(); return; |