From 573f787d63690834cb4b7e83d6c3c6dc0be005c8 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Sun, 25 Jan 2009 20:58:15 +0000 Subject: Set dialog width to 200px for dialog's whose content is less than 400px wide, like the login form. --- lib/gallery.dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/gallery.dialog.js') diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js index eb87533e..cfc89227 100644 --- a/lib/gallery.dialog.js +++ b/lib/gallery.dialog.js @@ -55,7 +55,7 @@ function openDialog(element, on_success) { } $("#ui-dialog-title-gDialog").html(sTitle); if (parent.width() < 400) { - parent.css("width", 400); + parent.css("width", 200); } parent.css({"opacity": "1.0"}); ajaxify_dialog = function() { -- cgit v1.2.3