$("#termSheetPrinted").dialog({
autoOpen: false,
resizable: true,
height: 800,
width: 950,
position: 'center',
title: 'Term Sheet',
close: function(event, ui) {
$(this).dialog("close");
},
modal: true,
buttons: {
"Print": function() {
$("#termSheetPrinted").jqprint();
},
"Cancel": function() {
$("#termSheetPrinted").html('');
$(this).dialog("close");
}
}
});
右上隅にある「x」をクリックすると、Firefoxがフリーズしてクラッシュし、何も起こりません。閉じる時のJQueryダイアログ
close関数を正しく定義していますか?