mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-30 08:19:10 -04:00
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:
@@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user