diff options
author | Bharat Mediratta <bharat@menalto.com> | 2011-01-08 18:45:10 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2011-01-08 18:45:10 -0800 |
commit | 8f5a3fd0c269745e2d540a85bfe54fcde66a6687 (patch) | |
tree | 47a9a7137b7054f5a83188a75c8d83400894b6a3 /modules/organize | |
parent | 249ca99c69da1af7663a63ebf82034dafd51eb5d (diff) |
Update the dialog title to reflect the album we're currently
organizing.
Diffstat (limited to 'modules/organize')
-rw-r--r-- | modules/organize/controllers/organize.php | 1 | ||||
-rw-r--r-- | modules/organize/views/organize_frame.html.php | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/organize/controllers/organize.php b/modules/organize/controllers/organize.php index c53e7f66..62417525 100644 --- a/modules/organize/controllers/organize.php +++ b/modules/organize/controllers/organize.php @@ -56,6 +56,7 @@ class Organize_Controller extends Controller { "sort_column" => $album->sort_column, "sort_order" => $album->sort_order, "editable" => access::can("edit", $album), + "title" => $album->title, "children" => array()); foreach ($album->viewable()->children() as $child) { diff --git a/modules/organize/views/organize_frame.html.php b/modules/organize/views/organize_frame.html.php index cdbf3be7..d9bb71e5 100644 --- a/modules/organize/views/organize_frame.html.php +++ b/modules/organize/views/organize_frame.html.php @@ -65,6 +65,9 @@ } else { thumb_data_view.dragZone.lock(); } + if (parent.set_title) { + parent.set_title(album_info.title); + } }, failure: show_generic_error }); |