From 7f4e71e52688d15cbc53baed10660f81f2de6551 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sat, 31 Oct 2009 14:15:17 -0700 Subject: 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. --- modules/gallery/views/admin_identity.html.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules') diff --git a/modules/gallery/views/admin_identity.html.php b/modules/gallery/views/admin_identity.html.php index 9a34dcc4..70fe401f 100644 --- a/modules/gallery/views/admin_identity.html.php +++ b/modules/gallery/views/admin_identity.html.php @@ -12,7 +12,7 @@ bgiframe: true, title: 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(); } } }); -- cgit v1.2.3