summaryrefslogtreecommitdiff
path: root/modules/organize/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-04-19 03:51:29 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-04-19 03:51:29 +0000
commitaaec040716d6e8702cbc001447f621e9a13a219c (patch)
treea4cdf85f4f3968c7463bd9e4c1160698afc0f235 /modules/organize/views
parenta8d60021ea67bbb3a58f8214ae03a4f34f17119f (diff)
- Improve the movement of the placeholder
- Make sure the thumbgrid will utoscroll when dragging - And an ordinal attribute to the thumbnail when generated, based on the current sort order of the album.
Diffstat (limited to 'modules/organize/views')
-rw-r--r--modules/organize/views/organize_thumb_grid.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php
index 64d8aaf3..484d1260 100644
--- a/modules/organize/views/organize_thumb_grid.html.php
+++ b/modules/organize/views/organize_thumb_grid.html.php
@@ -4,7 +4,7 @@
<? if ($child->is_album()): ?>
<? $item_class = "gAlbum"; ?>
<? endif ?>
-<li id="thumb_<?= $child->id ?>" class="gMicroThumbContainer" ref="<?= $child->id ?>">
+<li id="thumb_<?= $child->id ?>" class="gMicroThumbContainer" ref="<?= $child->id ?>" ordinal="<?= $offset + $i ?>">
<div id="gMicroThumb-<?= $child->id ?>" class="gMicroThumb <?= $item_class ?>">
<?= $child->thumb_tag(array("class" => "gThumbnail"), $thumbsize, true) ?>
</div>