...
|
...
|
@@ -112,7 +112,7 @@ module.exports = function(data) { |
|
|
delete data.count;
|
|
|
delete data.rows;
|
|
|
|
|
|
loadAjax = function(url, data, count) {
|
|
|
loadAjax = function() {
|
|
|
|
|
|
var options = {
|
|
|
type: 'POST',
|
...
|
...
|
@@ -154,14 +154,14 @@ module.exports = function(data) { |
|
|
};
|
|
|
|
|
|
|
|
|
load.on('after', function(p) {
|
|
|
load.on('after', function() {
|
|
|
|
|
|
data.pageCount = count * rows[1];
|
|
|
|
|
|
loadAjax(url, data);
|
|
|
});
|
|
|
|
|
|
load.on('before', function(p) {
|
|
|
load.on('before', function() {
|
|
|
|
|
|
|
|
|
load.tpl = '{{#each this}}';
|
...
|
...
|
|