summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 00:06:38 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-28 00:06:38 -0700
commitdf51ea7fa4977922a73af8b7219fff62031f52d4 (patch)
tree4d2373a70564071e6877218dd6dacd15e115f8ed /modules/gallery/controllers
parent1988d77039b67c34521b5f8a1cec200d35249745 (diff)
Fix broken html::script() and url::file() references to the newly
moved gallery module.
Diffstat (limited to 'modules/gallery/controllers')
-rw-r--r--modules/gallery/controllers/albums.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php
index 03a64f43..5ccadb37 100644
--- a/modules/gallery/controllers/albums.php
+++ b/modules/gallery/controllers/albums.php
@@ -113,8 +113,9 @@ class Albums_Controller extends Items_Controller {
"resource" => url::site("albums/$new_album->id")));
} else {
print json_encode(
- array("result" => "error",
- "form" => $form->__toString() . html::script("gallery/js/albums_form_add.js")));
+ array(
+ "result" => "error",
+ "form" => $form->__toString() . html::script("modules/gallery/js/albums_form_add.js")));
}
}
@@ -206,7 +207,7 @@ class Albums_Controller extends Items_Controller {
switch ($this->input->get("type")) {
case "album":
print album::get_add_form($album) .
- html::script("gallery/js/albums_form_add.js");
+ html::script("modules/gallery/js/albums_form_add.js");
break;
case "photo":