diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-08 16:26:34 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-08 16:26:34 -0700 |
commit | 1c5b04a2c5d58838dbea413359c9b114f7077ca8 (patch) | |
tree | 03842bef20bdbe7b0f438a881122d9d44574ab9d | |
parent | aac06342b3a1979f10e1365fe173ebe0a382d173 (diff) |
Fix the problem where the login page and edit permission pages were
supersized based on ly last commit.
-rw-r--r-- | lib/gallery.dialog.js | 2 | ||||
-rw-r--r-- | modules/organize/views/organize_dialog.html.php | 2 |
2 files changed, 2 insertions, 2 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) { diff --git a/modules/organize/views/organize_dialog.html.php b/modules/organize/views/organize_dialog.html.php index 0daa328d..b946d82b 100644 --- a/modules/organize/views/organize_dialog.html.php +++ b/modules/organize/views/organize_dialog.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <link rel="stylesheet" type="text/css" href="<?= url::file("modules/organize/css/organize.css") ?>" /> -<div id="gOrganize"> +<div id="gOrganize" class="gDialogPanel"> <h1 style="display:none"><?= t("Organize %name", array("name" => p::purify($title))) ?></h1> <div id="bd"> <div class="yui-gf"> |