Skip to main content

Search and Top Navigation

#8924 closed bug (invalid)

Opened December 19, 2012 02:08PM UTC

Closed January 03, 2013 08:48AM UTC

ui.dialog: focus lost from dialog when opened the second time

Reported by: anuragohri92 Owned by: anuragohri92
Priority: minor Milestone: 1.10.0
Component: ui.dialog Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

$( "#dialog-form" ).dialog({

autoOpen: false,

show: "fade",

hide: "fade",

height: 300,

width: 400,

modal: true,

buttons: {

"Login": function() {



Cancel: function() {

$( this ).dialog( "close" );



close: function() {

allFields.val( "" ).removeClass( "ui-state-error" );



$("#login").click(function() {

$( "#dialog-form" ).dialog( "open" );


The above script should cause a dialog box to fade in when it opens and fade out when it closes. However, if the dialog is opened once and then closed, then opened again, then the dialog does NOT appear, while the screen is greyed out.

Attachments (0)
Change History (2)

Changed December 20, 2012 02:22AM UTC by tj.vantoll comment:1

owner: → anuragohri92
status: newpending

Hi anuragohri92, thanks for taking the time to contribute to the jQuery UI project. In order to assess your ticket we're going to need a reduced test case showing the issue in the most recent version of jQuery UI. You can use this as a starting point


Changed January 03, 2013 08:48AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!