diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-09 19:00:22 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-09 19:00:22 -0700 |
commit | e5d273e929b630ab86ce31bf75c3e0fa3064ced0 (patch) | |
tree | 92407184459e2c2fcb12360880bb1358caa0e48e /modules/gallery/controllers/quick.php | |
parent | d0b25445119274760af40722eaa95279c2942a89 (diff) | |
parent | b276eaa68beca1266bf8fd83625ddfad73f44420 (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/quick.php')
-rw-r--r-- | modules/gallery/controllers/quick.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/gallery/controllers/quick.php b/modules/gallery/controllers/quick.php index 6efcb9de..d6f5213f 100644 --- a/modules/gallery/controllers/quick.php +++ b/modules/gallery/controllers/quick.php @@ -87,9 +87,12 @@ class Quick_Controller extends Controller { access::required("view", $item->parent()); access::required("edit", $item->parent()); + $msg = t("Made <b>%title</b> this album's cover", array("title" => $item->title)); + item::make_album_cover($item); + message::success($msg); - print json_encode(array("result" => "success")); + print json_encode(array("result" => "success", "reload" => 1)); } public function delete($id) { |