dialog height
dialog height
I have a dialog with height defined as auto. The same dialog is
reused, but new content is fetched based on the link that is clicked.
What the dialog seems to be doing is basing the height of the the
content that is first returned and not as subsequent links are clicked
resulting in the dialog height being much too tall or much too short
for the secondary content. I upgraded it to 1.6rc2 with the same
results. Here is my code:
$("#modal").dialog({autoOpen: false, height: "auto", title: "Training
Requirement Status", width: 450, modal: true, overlay: { opacity: 0.5,
background:"black" }});
$(".modal").click(function(){
var page = $(this).attr("href");
openDialog(page);
return false;
});