diff --git a/addons/pager/jquery.tablesorter.pager.js b/addons/pager/jquery.tablesorter.pager.js index 4c4202cc..66010eeb 100644 --- a/addons/pager/jquery.tablesorter.pager.js +++ b/addons/pager/jquery.tablesorter.pager.js @@ -52,7 +52,7 @@ // ], // [ "header1", "header2", ... "headerN" ] // optional // ] - ajaxProcessing: function( /* ajax */ ) { return [ 0, [], null ]; }, + ajaxProcessing: function(data) { return data; }, // output default: '{page}/{totalPages}' // possible variables: {size}, {page}, {totalPages}, {filteredPages}, {startRow}, diff --git a/docs/index.html b/docs/index.html index 170a38ff..351d0d66 100644 --- a/docs/index.html +++ b/docs/index.html @@ -4463,9 +4463,9 @@ $('table').trigger('search', false);
widgetOptions
and accessed via widgetOptions.pager_ajaxProcessing