Opened 9 years ago
Closed 9 years ago
#9856 closed bug (notabug)
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" ); });
Change History (2)
comment:1 Changed 9 years ago by
comment:2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
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.
Note: See
TracTickets for help on using
tickets.
http://jsfiddle.net/4Ejqg/