summaryrefslogtreecommitdiff
path: root/modules/organize/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-04 08:19:38 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-04 08:24:02 -0800
commitc82061391717a746fb61696ff48152b1e907b49c (patch)
tree665f2a21895e59468446e188f9de9286f5b55de4 /modules/organize/views
parent48efd21556dbc4f9f4046f9d2f685726b1c006ff (diff)
Don't change the current album when items are dragged to a different album in the album tree. Fixes ticket #959.
Diffstat (limited to 'modules/organize/views')
-rw-r--r--modules/organize/views/organize_tree.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/organize/views/organize_tree.html.php b/modules/organize/views/organize_tree.html.php
index 513c0625..49ed01fc 100644
--- a/modules/organize/views/organize_tree.html.php
+++ b/modules/organize/views/organize_tree.html.php
@@ -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>