fix an issue with the scroll bar appearing on the confirmation dialog and insure that dialog is removed if cancel is pressed, so we can correctly reshow it if required.

This commit is contained in:
Tim Almdal
2009-10-31 14:15:17 -07:00
parent abe42002b2
commit 7f4e71e526

View File

@@ -12,7 +12,7 @@
bgiframe: true,
title: <?= t("Confirm identity provider change")->for_js() ?>,
resizable: false,
height:165,
height:180,
modal: true,
overlay: {
backgroundColor: '#000',
@@ -20,10 +20,10 @@
},
buttons: {
"Continue": function() {
$("##g-dialog form").submit();
$("#g-dialog form").submit();
},
Cancel: function() {
$(this).dialog('close');
$(this).dialog('destroy').remove();
}
}
});