Skip to main content

Search and Top Navigation

#9856 closed bug (notabug)

Opened February 25, 2014 08:32AM UTC

Closed February 25, 2014 01:16PM UTC

Animated modal dialog doesnt work

Reported by: karadeniz Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:
Description

if you close a modal dialog and open it again before animation ends dialog becomes unclickable

, for example:

$(function() {
$( "#dialog-confirm" ).dialog({
resizable: false,
    show: {
                   effect: "drop",
                   duration: 500
                  },
            hide: {
                   effect: "drop",
                   duration: 500
                  },
height:140,
modal: true,
buttons: {
"Delete all items": function() {
$( this ).dialog( "close" );
},
Cancel: function() {
$( this ).dialog( "close" );
}
}
});
//close it
$( "#dialog-confirm" ).dialog( "close" );
//open it
$( "#dialog-confirm" ).dialog( "open" );
   
    });
Attachments (0)
Change History (2)

Changed February 25, 2014 09:11AM UTC by karadeniz comment:1

Changed February 25, 2014 01:16PM UTC by tj.vantoll comment:2

resolution: → notabug
status: newclosed

Thanks karadeniz.

Although I'm not exactly sure what change we made did this, the problem has already been fixed in master. http://jsfiddle.net/tj_vantoll/4Ejqg/1/ vs. http://jsfiddle.net/tj_vantoll/4Ejqg/2/. It'll be released with 1.11.