Don't change the current album when items are dragged to a different album in the album tree. Fixes ticket #959.

This commit is contained in:
Tim Almdal
2010-02-04 08:24:02 -08:00
parent 48efd21556
commit c820613917
2 changed files with 7 additions and 3 deletions
@@ -15,7 +15,7 @@
<li class="g-organize-album ui-icon-left <?= access::can("edit", $child) ? "" : "g-view-only" ?>"
ref="<?= $child->id ?>">
<span class="ui-icon ui-icon-plus"></span>
<span class="g-organize-album-text" ref="<?= $child->id ?>">
<span class="g-organize-album-text <?= $selected && $child->id == $selected->id ? "ui-state-focus" : "" ?>" ref="<?= $child->id ?>">
<?= html::clean($child->title) ?>
</span>
</li>