summaryrefslogtreecommitdiff
path: root/lib/gallery.dialog.js
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-08-08 16:26:34 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-08-08 16:26:34 -0700
commit1c5b04a2c5d58838dbea413359c9b114f7077ca8 (patch)
tree03842bef20bdbe7b0f438a881122d9d44574ab9d /lib/gallery.dialog.js
parentaac06342b3a1979f10e1365fe173ebe0a382d173 (diff)
Fix the problem where the login page and edit permission pages were
supersized based on ly last commit.
Diffstat (limited to 'lib/gallery.dialog.js')
-rw-r--r--lib/gallery.dialog.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gallery.dialog.js b/lib/gallery.dialog.js
index 6c2993fd..ace588f6 100644
--- a/lib/gallery.dialog.js
+++ b/lib/gallery.dialog.js
@@ -61,7 +61,7 @@
dialogWidth = size.width() - 100;
// Set the iframe width and height
$("#gDialog iframe").width("100%").height(size.height() - 100);
- } else if ($("#gDialog form").length == 0) {
+ } else if ($("#gDialog .gDialogPanel").length) {
dialogWidth = size.width() - 100;
$("#gDialog").dialog("option", "height", size.height() - 100);
} else if (childWidth == "" || childWidth > 300) {