UI Dialog with JQuery 1.5 only opens once
Is it just me or does the UI Dialog only open once when using jQuery 1.5.
It was working fine with jQuery 1.4.2 (UI Version is 1.8.6 though I did try with 1.8.9 and got the same result).
Again it could be something I am doing (most likely) but code is:
In $(document).ready function
printWindow.dialog({
height: 470,
width: 400,
modal: false,
autoOpen: false,
autoResize: true,
title: 'Print Options',
hide: "explode"
});
Then to show the dialog (from a button click):
printWindow.show();
printWindow.dialog("open");
When I click the X on the dialog toolbar to close it, it will then never re-open.
Works as expected (and previously documented) using 1.4.2, so whats changed or conversely, what do I need to change.
Cheers
Simon