summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/organize/views/organize_thumb_grid.html.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/modules/organize/views/organize_thumb_grid.html.php b/modules/organize/views/organize_thumb_grid.html.php
index 929d9ec3..af7136fc 100644
--- a/modules/organize/views/organize_thumb_grid.html.php
+++ b/modules/organize/views/organize_thumb_grid.html.php
@@ -11,12 +11,13 @@
<? if ($album->children_count() > $offset): ?>
<script>
setTimeout(function() {
- $.get("<?= url::site("organize/content/$album->id/" . ($offset + 25)) ?>",
- function(data) {
- $("#gOrganizeMicroThumbGrid").append(data);
- $.organize.set_handlers();
- }
- );
+ $.get("<?= url::site("organize/album/$album->id/" . ($offset + 25)) ?>",
+ {},
+ function(data) {
+ $("#gOrganizeMicroThumbGrid").append(data.grid);
+ $.organize.set_handlers();
+ },
+ "json");
}, 50);
</script>
<? endif ?>