mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-07 15:40:41 -04:00
Merge branch 'master' into talmdal_dev
This commit is contained in:
@@ -216,7 +216,8 @@ class Albums_Controller extends Items_Controller {
|
||||
array("album_title" => html::purify($album->title))));
|
||||
|
||||
print json_encode(
|
||||
array("result" => "success"));
|
||||
array("result" => "success",
|
||||
"location" => $album->url()));
|
||||
} else {
|
||||
print json_encode(
|
||||
array("result" => "error",
|
||||
|
||||
@@ -113,7 +113,8 @@ class Photos_Controller extends Items_Controller {
|
||||
array("photo_title" => html::purify($photo->title))));
|
||||
|
||||
print json_encode(
|
||||
array("result" => "success"));
|
||||
array("result" => "success",
|
||||
"location" => $photo->url()));
|
||||
} else {
|
||||
print json_encode(
|
||||
array("result" => "error",
|
||||
|
||||
Reference in New Issue
Block a user