summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-07-28 06:33:25 -0700
committerTim Almdal <tnalmdal@shaw.ca>2009-07-28 06:33:25 -0700
commitdfaf8703101be049def4cfabbd4c44194a2bd3f7 (patch)
tree9cf283710ce9ccdadbf922d91dfab1756473baa0 /modules/gallery/helpers
parent2e8f73d4e96e4e114493f703a5c2c0207fad5cf5 (diff)
Convert the album add dialog to use the new Form_Script library
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/album.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery/helpers/album.php b/modules/gallery/helpers/album.php
index 6065f580..8a7c9951 100644
--- a/modules/gallery/helpers/album.php
+++ b/modules/gallery/helpers/album.php
@@ -90,6 +90,8 @@ class album_Core {
$group->hidden("type")->value("album");
$group->submit("")->value(t("Create"));
$form->add_rules_from(ORM::factory("item"));
+ $form->script("")
+ ->url(url::abs_file("modules/gallery/js/albums_form_add.js"));
return $form;
}