diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-08-31 21:10:22 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-08-31 21:10:22 -0700 |
| commit | c8871705550914f295f887d4a05bdec6a42a8d9e (patch) | |
| tree | e6aec23ceceb4714206bd236b0a537067c868652 /modules/gallery/controllers/photos.php | |
| parent | 0513713fde119bd50978237506cd6e21df001e61 (diff) | |
Stay on the same page when editing albums/movies/photos. Fixes ticket
Diffstat (limited to 'modules/gallery/controllers/photos.php')
| -rw-r--r-- | modules/gallery/controllers/photos.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gallery/controllers/photos.php b/modules/gallery/controllers/photos.php index 3b9662c7..dd6d3ab5 100644 --- a/modules/gallery/controllers/photos.php +++ b/modules/gallery/controllers/photos.php @@ -90,8 +90,7 @@ class Photos_Controller extends Items_Controller { array("photo_title" => html::purify($photo->title)))); print json_encode( - array("result" => "success", - "location" => url::site("photos/$photo->id"))); + array("result" => "success")); } else { print json_encode( array("result" => "error", |
