Refactor the gallery dialog into a jQuery widget

Signed-off-by: Bharat Mediratta <bharat@menalto.com>
This commit is contained in:
Tim Almdal
2009-08-07 23:58:57 +08:00
committed by Bharat Mediratta
parent 1591c3871a
commit a302a9c3fa
8 changed files with 161 additions and 145 deletions

View File

@@ -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").bind("click", handleDialogEvent);
$("#gAfterInstallChangePasswordLink").galleryDialog();
</script>
</p>