diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-13 18:58:40 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-13 18:58:40 -0700 |
| commit | d758266fabff6c9fe4de22fce57bf00962150ee2 (patch) | |
| tree | 5b4f12bfbf5aee8b8ba1d012a7e52d0f1d753fcb /modules/organize/views | |
| parent | 5a84df9ac501b57cb5b472dc57590eef5e165dc3 (diff) | |
Add a visual indicator of the insertion point
Diffstat (limited to 'modules/organize/views')
| -rw-r--r-- | modules/organize/views/organize_thumb_grid.html.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php index b6e3aa11..b41c54e8 100644 --- a/modules/organize/views/organize_thumb_grid.html.php +++ b/modules/organize/views/organize_thumb_grid.html.php @@ -1,9 +1,11 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <? foreach ($item->children(25, $offset) as $child): ?> -<li id="gMicroThumb_<?= $child->id ?>" +<li class="gMicroThumbGridCell"> +<div id="gMicroThumb_<?= $child->id ?>" class="gMicroThumb <?= $child->is_album() ? "gAlbum" : "gPhoto" ?>" ref="<?= $child->id ?>"> <?= $child->thumb_img(array("class" => "gThumbnail", "ref" => $child->id), 90, true) ?> +</div> </li> <? endforeach ?> @@ -13,6 +15,7 @@ $.get("<?= url::site("organize/content/$item->id/" . ($offset + 25)) ?>", function(data) { $("#gMicroThumbGrid").append(data); + $.organize.set_handlers(); } ); }, 50); |
