diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-29 11:22:19 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-08-29 11:22:19 -0700 |
| commit | 08d7fda7f8ae68f06dfc063a8cf1acfa1a11eec7 (patch) | |
| tree | 4ca658f6dadd4704194ad677e2aeab7880eb6cca /modules/organize/views/organize_thumb_grid.html.php | |
| parent | 6de10a54ddc4273499848be6508b9fd3c9d2c492 (diff) | |
| parent | 1527f149a90a46428c48b4b811d4b8ecc10b9d2c (diff) | |
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/organize/views/organize_thumb_grid.html.php')
| -rw-r--r-- | modules/organize/views/organize_thumb_grid.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php index 5adb487a..31dc9af5 100644 --- a/modules/organize/views/organize_thumb_grid.html.php +++ b/modules/organize/views/organize_thumb_grid.html.php @@ -1,5 +1,5 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<? foreach ($item->children(25, $offset) as $child): ?> +<? foreach ($album->children(25, $offset) as $child): ?> <li class="gMicroThumbGridCell" ref="<?= $child->id ?>"> <div id="gMicroThumb_<?= $child->id ?>" class="gMicroThumb <?= $child->is_album() ? "gAlbum" : "gPhoto" ?>"> @@ -8,10 +8,10 @@ </li> <? endforeach ?> -<? if ($item->children_count() > $offset): ?> +<? if ($album->children_count() > $offset): ?> <script> setTimeout(function() { - $.get("<?= url::site("organize/content/$item->id/" . ($offset + 25)) ?>", + $.get("<?= url::site("organize/content/$album->id/" . ($offset + 25)) ?>", function(data) { $("#gMicroThumbGrid").append(data); $.organize.set_handlers(); |
