mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-31 16:59:22 -04:00
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.
This commit is contained in:
@@ -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 ?>
|
||||
|
||||
Reference in New Issue
Block a user