summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-08 21:26:55 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-08 21:26:55 -0700
commit12f25a7e55d5aab4c4170eaa3bcb761cf5514be2 (patch)
tree4ab950ee53d6185dee3988678bfe5ab11a9c57c9
parentc9f5000e65f66b3342f2cc6e2e9623eac72ff223 (diff)
Fix the after_install loader to immediately open the "Welcome to
Gallery 3!" dialog, but not immediately open the "change your password" dialog.
-rw-r--r--modules/gallery/views/after_install.html.php2
-rw-r--r--modules/gallery/views/after_install_loader.html.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/views/after_install.html.php b/modules/gallery/views/after_install.html.php
index 41e600fb..bfce46f0 100644
--- a/modules/gallery/views/after_install.html.php
+++ b/modules/gallery/views/after_install.html.php
@@ -16,7 +16,7 @@
title="<?= t("Edit Your Profile") ?>"
id="gAfterInstallChangePasswordLink" class="gButtonLink ui-state-default ui-corners-all"><?= t("Change Password Now") ?></a>
<script>
- $("#gAfterInstallChangePasswordLink").gallery_dialog({immediate: true});
+ $("#gAfterInstallChangePasswordLink").gallery_dialog();
</script>
</p>
diff --git a/modules/gallery/views/after_install_loader.html.php b/modules/gallery/views/after_install_loader.html.php
index baf91eed..54484963 100644
--- a/modules/gallery/views/after_install_loader.html.php
+++ b/modules/gallery/views/after_install_loader.html.php
@@ -3,5 +3,5 @@
title="<?= t("Welcome to Gallery 3") ?>"
href="<?= url::site("after_install") ?>"/>
<script type="text/javascript">
- $(document).ready(function(){openDialog($("#gAfterInstall"));});
+ $(document).ready(function(){$("#gAfterInstall").gallery_dialog({immediate: true});});
</script>