Change the organize tree to expand/collapse. It doesn't properly open

up to the album that you're viewing, and if you move a photo to a
different album it'll reload the entire album tree.
This commit is contained in:
Bharat Mediratta
2009-08-29 16:33:22 -07:00
parent 0aceba6f48
commit 483d8df91b
4 changed files with 47 additions and 44 deletions
@@ -3,6 +3,7 @@
var move_url = "<?= url::site("organize/move_to/__ALBUM_ID__?csrf=$csrf") ?>";
var rearrange_url = "<?= url::site("organize/rearrange/__TARGET_ID__/__BEFORE__?csrf=$csrf") ?>";
var sort_order_url = "<?= url::site("organize/sort_order/__ALBUM_ID__/__COL__/__DIR__?csrf=$csrf") ?>";
var tree_url = "<?= url::site("organize/tree/__ALBUM_ID__") ?>";
</script>
<div id="gOrganize" class="gDialogPanel">
<h1 style="display:none"><?= t("Organize %name", array("name" => p::purify($album->title))) ?></h1>