summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-04 21:27:23 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-04 21:27:23 -0700
commitab7323d17b3c3e445fb51d7b4330e89b4e16aaa9 (patch)
tree868fbe1f1f86d82f6332ce7bfb2280a93b196d9b /modules
parentadd134cc75214c3852566ae27e5eb7b35c59c53e (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.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 ?>