summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/movies.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-08-31 21:10:22 -0700
committerBharat Mediratta <bharat@menalto.com>2009-08-31 21:10:22 -0700
commitc8871705550914f295f887d4a05bdec6a42a8d9e (patch)
treee6aec23ceceb4714206bd236b0a537067c868652 /modules/gallery/controllers/movies.php
parent0513713fde119bd50978237506cd6e21df001e61 (diff)
Stay on the same page when editing albums/movies/photos. Fixes ticket
Diffstat (limited to 'modules/gallery/controllers/movies.php')
-rw-r--r--modules/gallery/controllers/movies.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/controllers/movies.php b/modules/gallery/controllers/movies.php
index 09b16759..c40cde9e 100644
--- a/modules/gallery/controllers/movies.php
+++ b/modules/gallery/controllers/movies.php
@@ -96,8 +96,7 @@ class Movies_Controller extends Items_Controller {
t("Saved photo %photo_title", array("photo_title" => $photo->title)));
print json_encode(
- array("result" => "success",
- "location" => url::site("photos/$photo->id")));
+ array("result" => "success"));
} else {
print json_encode(
array("result" => "error",