Hypolite Petovan
14237a9599
- Move infinite scroll data output in a module hook - Use Pager instead of paginate() and alt_pager()
8 lines
255 B
Smarty
8 lines
255 B
Smarty
<script>
|
|
{{* Create an object with the data which is needed for infinite scroll.
|
|
For the relevant js part look at function loadContent() in main.js. *}}
|
|
var infinite_scroll = {
|
|
"pageno" : {{$pageno}},
|
|
"reload_uri": "{{$reload_uri}}"
|
|
}
|
|
</script>
|