diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-04 21:27:23 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-04 21:27:23 -0700 |
commit | ab7323d17b3c3e445fb51d7b4330e89b4e16aaa9 (patch) | |
tree | 868fbe1f1f86d82f6332ce7bfb2280a93b196d9b /modules | |
parent | add134cc75214c3852566ae27e5eb7b35c59c53e (diff) |
Fix the url in the call to get subsequent entries to have the right
url, and to be json. Fixes #719, which I introduced in my refactor.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/organize/views/organize_thumb_grid.html.php | 13 |
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 ?> |