From c946ad1fcd87d4cb9c8f45b0b3c553b31fcebec8 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 25 Jun 2010 09:56:29 -0700 Subject: If we promote the

element to be the title, hide it so we're not showing it twice. --- lib/gallery.dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index f280a525..6ec8c634 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -40,6 +40,7 @@ $(".ui-dialog-titlebar").remove(); } else if ($("#g-dialog h1").length) { $("#g-dialog").dialog('option', 'title', $("#g-dialog h1:eq(0)").html()); + $("#g-dialog h1:eq(0)").hide(); } else if ($("#g-dialog fieldset legend").length) { $("#g-dialog").dialog('option', 'title', $("#g-dialog fieldset legend:eq(0)").html()); } -- cgit v1.2.3