Opened 9 years ago

Closed 9 years ago

Last modified 6 years ago

#5062 closed bug (worksforme)

dialog and jquery 1.4 not working correct

Reported by: augsburgde Owned by:
Priority: major Milestone:
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

if I attach a dialog to a div and open the dialog via onclick the dialog opens, after closing the dialog and doing the same click the dialog does not open again - under jquery 1.3.2 there was no problem.

the dialog is created with following code:

$self = $("<div></div>").attr("id", "gallery_dialog").css("display", "none");
			$(document.body).prepend($self);
			 $("#gallery_dialog").dialog({
				autoOpen:false,
				width:750,
				height:500,
				modal:false,
				hide: "blind",
				resizable:true, // note: if true, we have to resize the inner iframe on the fly
				overlay: {
					background: "#000",
					opacity: 0.8
						}
			});

and opened via clickevent:

$(".pic").live("click",function(){
   $("#gallery_dialog").dialog("open");
});

Change History (2)

comment:1 Changed 9 years ago by Scott González

Resolution: worksforme
Status: newclosed

jQuery 1.4 works for me with jQuery UI 1.7.2 and trunk. Please attach a full test page if you continue to have problems.

comment:2 Changed 6 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.